commit editor changes to db
This commit is contained in:
parent
88ed4d9886
commit
0d03cd67d4
@ -231,6 +231,8 @@ def editors():
|
||||
user = Editor(authority = received[authority],
|
||||
username = received[username],
|
||||
password = received[password])
|
||||
db.session.add(user)
|
||||
db.session.commit()
|
||||
return user
|
||||
else:
|
||||
return "Bad Request"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user