diff --git a/app/lib_general.py b/app/lib_general.py index 07f096f..2851359 100644 --- a/app/lib_general.py +++ b/app/lib_general.py @@ -149,6 +149,7 @@ def common_route_params_min( else: log.warning(f'The x-account-id header was found, but the Account ID was not found or is not valid. Account ID: {x_account_id}') raise HTTPException(status_code=403, detail='The x-account-id Account ID was not found.') # Forbidden + else: x_account_id_random = None commons = Common_Route_Params_Min( x_account_id=x_account_id, x_account_id_random=x_account_id_random, limit=limit, offset=offset, enabled=enabled, by_alias=by_alias, exclude_unset=exclude_unset, response=response )