mirror of
https://github.com/Maks1mS/nestjs-telegraf.git
synced 2025-03-28 04:13:44 +03:00
fix: fix path for webhook
This commit is contained in:
parent
7af87b289b
commit
8bfcc76232
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user