From ba256bea8f3921eadf9b56d172a666844fe3c010 Mon Sep 17 00:00:00 2001 From: Aleksandr Bukhalo Date: Fri, 24 Apr 2020 14:01:38 +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 0461ca9..33c3b98 100644 --- a/README.md +++ b/README.md @@ -130,7 +130,7 @@ The construction above instantiates `TelegrafConfigService` inside `TelegrafModu ```typescript @Injectable() class TelegrafConfigService implements TelegrafOptionsFactory { - createMongooseOptions(): TelegrafModuleOptions { + createTelegrafOptions(): TelegrafModuleOptions { return { token: 'TELEGRAM_BOT_TOKEN', };