Update main.py
Browse files
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="
|
| 65 |
|
| 66 |
if x_api_key != API_KEY:
|
| 67 |
-
raise HTTPException(status_code=403, detail="API key
|
| 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,
|