From 196e734b5c215aff92cda7bf8d4d2fc8804c0487 Mon Sep 17 00:00:00 2001 From: Aleksandr Bukhalo Date: Fri, 24 Apr 2020 16:09:11 +0300 Subject: [PATCH] fix: wrong telegraf instance using --- lib/telegraf.provider.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/telegraf.provider.ts b/lib/telegraf.provider.ts index 14d02f1..95f1adf 100644 --- a/lib/telegraf.provider.ts +++ b/lib/telegraf.provider.ts @@ -5,7 +5,7 @@ import { Logger, OnApplicationShutdown, } from '@nestjs/common'; -import { Telegraf, ContextMessageUpdate } from 'telegraf'; +import Telegraf, { ContextMessageUpdate } from 'telegraf'; import { TELEGRAF_MODULE_OPTIONS } from './telegraf.constants'; import { TelegrafModuleOptions } from './interfaces';