codeBOKER commited on
Commit
b5fd72b
·
1 Parent(s): e72602f

Remove /test

Browse files
Files changed (1) hide show
  1. main.py +4 -4
main.py CHANGED
@@ -1,5 +1,5 @@
1
  from fastapi import FastAPI
2
- from telegram_handlers import telegram_webhook, test_webhook, WebhookData
3
  from utils import dns_test, test_ai_response
4
 
5
  app = FastAPI()
@@ -12,9 +12,9 @@ async def root():
12
  async def webhook(data: WebhookData):
13
  return await telegram_webhook(data)
14
 
15
- @app.post("/test")
16
- async def test(data: WebhookData):
17
- return await test_webhook(data)
18
 
19
  @app.get("/dns-test")
20
  async def dns():
 
1
  from fastapi import FastAPI
2
+ from telegram_handlers import telegram_webhook, WebhookData
3
  from utils import dns_test, test_ai_response
4
 
5
  app = FastAPI()
 
12
  async def webhook(data: WebhookData):
13
  return await telegram_webhook(data)
14
 
15
+ # @app.post("/test")
16
+ # async def test(data: WebhookData):
17
+ # return await test_webhook(data)
18
 
19
  @app.get("/dns-test")
20
  async def dns():