Celeskry commited on
Commit
5da8fef
·
verified ·
1 Parent(s): 138d9aa

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -24,7 +24,7 @@ app = FastAPI(lifespan=lifespan)
24
 
25
  START_TIME = time.time()
26
 
27
- @app.get("/discord-invite")
28
  async def get_new_invite():
29
  res = await invite_app.get_invite()
30
  if "error" in res:
 
24
 
25
  START_TIME = time.time()
26
 
27
+ @app.get("/api/v1/invites/discord")
28
  async def get_new_invite():
29
  res = await invite_app.get_invite()
30
  if "error" in res: