Removing duplicated commit
This commit is contained in:
parent
457a63c000
commit
7c996e2f48
|
@ -31,8 +31,7 @@ def create(username, password, email, active, profile_picture, roles):
|
|||
profile_picture=profile_picture,
|
||||
role=roles
|
||||
)
|
||||
user = database.create(user)
|
||||
return database.update(user)
|
||||
return database.create(user)
|
||||
|
||||
|
||||
def update(user_id, username, email, active, profile_picture, roles):
|
||||
|
|
Loading…
Reference in New Issue