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:
parent
839aced912
commit
047777fada
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user