Minor changes
This commit is contained in:
@@ -144,7 +144,7 @@ def common_route_params(
|
||||
# exclude: Optional[list] = [], # Leaving this and include commented out
|
||||
# include: Optional[list] = [], # Leaving this and exclude commented out
|
||||
response: Response = Response,
|
||||
log_lvl: int = logging.INFO, # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL
|
||||
log_lvl: int = logging.WARNING, # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL
|
||||
) -> Common_Route_Params|Common_Route_Params_No_Account_ID:
|
||||
log.setLevel(log_lvl)
|
||||
log.debug(locals())
|
||||
@@ -166,7 +166,7 @@ def common_route_params(
|
||||
x_account_id_random = '--- NOT SET ---'
|
||||
|
||||
elif x_no_account_id_token and len(x_no_account_id_token) > 10: # NOTE: Not a header value!
|
||||
# NOTE WARNING: This token should be varified and able to be disabled quickly.
|
||||
# NOTE WARNING: This token should be verified and able to be disabled quickly.
|
||||
log.warning(f'Found the x_no_account_id_token URL param with the value: {x_no_account_id_token}')
|
||||
|
||||
if x_account_id := redis_lookup_id_random(table_name='account', record_id_random=x_no_account_id_token):
|
||||
|
||||
Reference in New Issue
Block a user