docs: fix error in readme

This commit is contained in:
Aleksandr Bukhalo 2020-04-26 00:11:40 +03:00
parent 45106e74d9
commit 0d744d5533

View File

@ -157,7 +157,7 @@ const telegrafProvider = app.get('TelegrafProvider');
Now you can connect middleware: Now you can connect middleware:
```typescript ```typescript
app.use(telegrafService.webhookCallback('/secret-path')); app.use(telegrafProvider.webhookCallback('/secret-path'));
``` ```
The last step is to specify launchOptions in `forRoot` method: The last step is to specify launchOptions in `forRoot` method: