Code clean up and standardize
This commit is contained in:
@@ -598,7 +598,7 @@ def update_event_obj(
|
||||
# NOTE: This will blindly create a new user even if there was one associated but the event.user_id was not found.
|
||||
user_obj_in = event_obj_up.user
|
||||
log.debug(user_obj_in)
|
||||
if user_obj_in_result := create_user_obj(user_obj_new=user_obj_in):
|
||||
if user_obj_in_result := create_user_obj(account_id=account_id, user_obj_new=user_obj_in):
|
||||
# log.setLevel(logging.DEBUG) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL
|
||||
log.debug(user_obj_in_result)
|
||||
event_obj_up.user_id = user_obj_in_result
|
||||
|
||||
Reference in New Issue
Block a user