Skip to content
Snippets Groups Projects

Added updated_by field

Merged Krish Moodbidri requested to merge krish94/self-reg-form:feat-updated-by into master
1 file
+ 5
2
Compare changes
  • Side-by-side
  • Inline
+ 5
2
@@ -90,12 +90,15 @@ def celery_certify_account(json, session):
email= json['email']
fullname= json['fullname']
queuename= rc_util.encode_name(username)
updated_by= f'{username}@login005'
print("CERTIFY : "+time.strftime("%m-%d-%Y_%H:%M:%S") + '\tUser ' + username + ' added to queue')
send_msg('certifying account', room)
print(username)
rc_util.certify_account(username, queuename, 'ok', 'all', updated_by)
<<<<<<< HEAD
rc_util.certify_account(username, queuename, updated_by, 'ok', 'all')
=======
rc_util.certify_account(username, queuename, 'ok', 'all')
>>>>>>> parent of bcc5650... Added updated_by field
print('sent account info')
print('Waiting for certification...')
rc_util.consume(queuename, routing_key=f'certified.{queuename}', callback=certify_gen_f(room))
Loading