1
0
mirror of https://github.com/eternnoir/pyTelegramBotAPI.git synced 2023-08-10 21:12:57 +03:00

Fixed TOKEN visibility in fastapi swagger

This commit is contained in:
v.korobov 2022-08-08 23:04:36 +03:00
parent 839aced912
commit 047777fada

View File

@ -33,7 +33,7 @@ telebot.logger.setLevel(logging.INFO)
bot = telebot.TeleBot(API_TOKEN) bot = telebot.TeleBot(API_TOKEN)
app = fastapi.FastAPI() app = fastapi.FastAPI(docs=None, redoc_url=None)
# Process webhook calls # Process webhook calls