mirror of
https://github.com/Maks1mS/nestjs-telegraf.git
synced 2024-12-23 22:52:59 +03:00
docs: fix error in readme
This commit is contained in:
parent
45106e74d9
commit
0d744d5533
@ -157,7 +157,7 @@ const telegrafProvider = app.get('TelegrafProvider');
|
||||
|
||||
Now you can connect middleware:
|
||||
```typescript
|
||||
app.use(telegrafService.webhookCallback('/secret-path'));
|
||||
app.use(telegrafProvider.webhookCallback('/secret-path'));
|
||||
```
|
||||
|
||||
The last step is to specify launchOptions in `forRoot` method:
|
||||
|
Loading…
Reference in New Issue
Block a user