Work on Stripe log
This commit is contained in:
@@ -149,6 +149,7 @@ def common_route_params_min(
|
|||||||
else:
|
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}')
|
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
|
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 )
|
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 )
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user