Hana Celeste commited on
Update main.py
Browse files
main.py
CHANGED
|
@@ -51,12 +51,7 @@ async def get_discord_info(uid: str):
|
|
| 51 |
|
| 52 |
@app.get("/aternos")
|
| 53 |
async def control(type: str = Query("login")):
|
| 54 |
-
|
| 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 |
|
| 61 |
@app.get("/")
|
| 62 |
def home():
|
|
|
|
| 51 |
|
| 52 |
@app.get("/aternos")
|
| 53 |
async def control(type: str = Query("login")):
|
| 54 |
+
return await aternos.run_action(action_type=type)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 55 |
|
| 56 |
@app.get("/")
|
| 57 |
def home():
|