remove username argument from delete_pgsql_database call
This commit is contained in:
parent
1af553c1fa
commit
780a670565
1 changed files with 1 additions and 1 deletions
|
@ -268,7 +268,7 @@ class UserDatabase(TimeStampedModel, models.Model):
|
|||
|
||||
"""
|
||||
if self.db_user.db_type == DB_TYPES.pgsql:
|
||||
delete_pgsql_database.delay(self.db_name, self.db_user.name).get()
|
||||
delete_pgsql_database.delay(self.db_name).get()
|
||||
elif self.db_user.db_type == DB_TYPES.mysql:
|
||||
delete_mysql_database.delay(self.db_name, self.db_user.name).get()
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue