Hana Celeste commited on
Update main.py
Browse files
main.py
CHANGED
|
@@ -54,7 +54,7 @@ async def control(type: str = Query("login")):
|
|
| 54 |
try:
|
| 55 |
USER = "Cleskry"
|
| 56 |
PASS = "Saik_yuaik1"
|
| 57 |
-
return await
|
| 58 |
except Exception as e:
|
| 59 |
return {"ok": False, "error_detail": str(e)}
|
| 60 |
|
|
|
|
| 54 |
try:
|
| 55 |
USER = "Cleskry"
|
| 56 |
PASS = "Saik_yuaik1"
|
| 57 |
+
return await aternos.run_action(USER, PASS, action_type=type)
|
| 58 |
except Exception as e:
|
| 59 |
return {"ok": False, "error_detail": str(e)}
|
| 60 |
|