Update main.py
Browse files
main.py
CHANGED
|
@@ -24,7 +24,7 @@ app = FastAPI(lifespan=lifespan)
|
|
| 24 |
|
| 25 |
START_TIME = time.time()
|
| 26 |
|
| 27 |
-
@app.get("/discord
|
| 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:
|