last id
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user