fix: fix path for webhook

This commit is contained in:
Igor Kamyshev 2019-03-03 19:00:03 +02:00
parent 7af87b289b
commit 8bfcc76232

View File

@ -49,7 +49,7 @@ export class TelegramBot {
.setWebhook(`${this.sitePublicUrl}/${path}`)
.then(() => console.log('Webhook set success'))
return this.bot.webhookCallback(path)
return this.bot.webhookCallback(`/${path}`)
}
public startPolling() {