1
0
Fork 0
mirror of https://github.com/fastogt/fastocloud_admin.git synced 2025-03-09 23:38:52 +00:00
This commit is contained in:
topilski 2019-06-01 11:07:34 -04:00
parent 6c378f86aa
commit e3bd69d0de

View file

@ -150,6 +150,7 @@ class ServiceView(FlaskView):
if server and user:
admin = UserPair(user.id, form.role.data)
server.add_user(admin)
user.add_server(server)
return jsonify(status='ok'), 200
return render_template('service/user/add.html', form=form)