From 0d744d5533b18b2fd6e8b45eb64463f21fd72a56 Mon Sep 17 00:00:00 2001 From: Aleksandr Bukhalo Date: Sun, 26 Apr 2020 00:11:40 +0300 Subject: [PATCH] docs: fix error in readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 732fbf7..9d2296e 100644 --- a/README.md +++ b/README.md @@ -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: