Hana Celeste commited on
Commit
5bcad7a
·
verified ·
1 Parent(s): fa7f85d

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -6
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
- 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
 
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():