Celeskry commited on
Commit
6ec32f4
·
verified ·
1 Parent(s): 759de70

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -2
main.py CHANGED
@@ -61,10 +61,10 @@ async def genshin_daily(
61
  x_api_key: str = Header(None)
62
  ):
63
  if not API_KEY:
64
- raise HTTPException(status_code=500, detail="Server chưa cấu hình API_KEY")
65
 
66
  if x_api_key != API_KEY:
67
- raise HTTPException(status_code=403, detail="API key không hợp lệ")
68
 
69
  res = await gs_app.run_daily_and_capture(
70
  data.cookie,
 
61
  x_api_key: str = Header(None)
62
  ):
63
  if not API_KEY:
64
+ raise HTTPException(status_code=500, detail="500: Yo mama called, said stop hacking or she'll whoop ur ass. Listen to her for once.")
65
 
66
  if x_api_key != API_KEY:
67
+ raise HTTPException(status_code=403, detail="API key invalid. Go touch grass")
68
 
69
  res = await gs_app.run_daily_and_capture(
70
  data.cookie,