diff --git a/services/web/project/__init__.py b/services/web/project/__init__.py index 1009941..15e51c7 100644 --- a/services/web/project/__init__.py +++ b/services/web/project/__init__.py @@ -314,7 +314,7 @@ def start_register(): select_pending = json.dumps( [dict(ix) for ix in select_pendingRes] ) print(select_pending) array3 = json.loads(select_pending) - last_row_id = array3[last_row_id] + last_row_id = array3['last_row_id'] # INSERT_MEMBERS = "INSERT INTO members_pending(email,firstname,lastname) VALUES('"+email+"','"+firstname+"','"+lastname+"')" @@ -327,7 +327,7 @@ def start_register(): # print(last_row_id) send_register_mail(email) - return jsonify(hello="ameye signup path world", last_row_id=last_row_id) + return jsonify(pending_user=array3, last_row_id=last_row_id) except Exception as e: return {