fix(caching.py): enable async setting of cache for dual cache

This commit is contained in:
Krrish Dholakia 2024-03-20 18:42:34 -07:00
parent 9a221851d5
commit f0d8472bfd
2 changed files with 11 additions and 2 deletions

View file

@ -409,8 +409,6 @@ async def user_api_key_auth(
models=user_object.models,
user_role="app_owner",
)
else:
raise Exception("Invalid key error!")
#### ELSE ####
if master_key is None:
if isinstance(api_key, str):