mirror of
https://github.com/FAUSheppy/atlantis-event-dispatcher
synced 2025-12-06 06:21:36 +01:00
fix: correctly use newly created settings
This commit is contained in:
@@ -141,6 +141,7 @@ def settings():
|
||||
posted = UserSettings(username=user, signal_priority=5, email_priority=7, ntfy_priority=3)
|
||||
db.session.merge(posted)
|
||||
db.session.commit()
|
||||
user_settings = posted
|
||||
return flask.jsonify(user_settings.serizalize())
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user