Commit f7d6ba68 authored by Krish Moodbidri's avatar Krish Moodbidri
Browse files

replace send each value by sending json object

parent 14d8c5b8
Pipeline #3159 canceled with stage
......@@ -36,7 +36,7 @@ def request_account(json, methods=['GET', 'POST']):
room = str(session['uid'])
print("Room: {}".format(room))
tasks.celery_create_account.delay(json['username'], json['email'], json['fullname'], json['reason'], session=room)
tasks.celery_create_account.delay(json, session=room )
except Exception as e:
print(time.strftime("%m-%d-%Y_%H:%M:%S") + "\tError in account creation: ", e)
socketio.emit("Account creation failed", room)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment