From f7d6ba68744e2086f88bf5409a7ebdd7d308031d Mon Sep 17 00:00:00 2001
From: Krish Moodbidri <krish94@uab.edu>
Date: Wed, 2 Sep 2020 14:06:59 +0000
Subject: [PATCH] replace send each value by sending json object

---
 run.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/run.py b/run.py
index e7c8fba..1232ae6 100644
--- a/run.py
+++ b/run.py
@@ -36,7 +36,7 @@ def request_account(json, methods=['GET', 'POST']):
     room = str(session['uid'])
     print("Room: {}".format(room))
     try:
-	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)
-- 
GitLab