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
1 changed files with 1 additions and 1 deletions

View File

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