saibalajiomg commited on
Commit
b46865b
·
verified ·
1 Parent(s): 278b6d1

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. src/api/routers/health.py +1 -1
src/api/routers/health.py CHANGED
@@ -214,7 +214,7 @@ async def keep_alive() -> JSONResponse:
214
  import httpx
215
 
216
  supabase_url = os.getenv("SUPABASE_URL")
217
- supabase_key = os.getenv("SUPABASE_KEY")
218
 
219
  if not supabase_url or not supabase_key:
220
  return JSONResponse(
 
214
  import httpx
215
 
216
  supabase_url = os.getenv("SUPABASE_URL")
217
+ supabase_key = os.getenv("SUPABASE_SERVICE_ROLE_KEY") or os.getenv("SUPABASE_ANON_KEY")
218
 
219
  if not supabase_url or not supabase_key:
220
  return JSONResponse(