From c475a5bc68c70af715ae9b14a918a240766071d0 Mon Sep 17 00:00:00 2001 From: Andrii Abramov Date: Fri, 24 Jun 2022 00:34:02 +0300 Subject: [PATCH] Fix AppModule Fixes proposal from https://github.com/bukhalo/nestjs-telegraf/pull/806 --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e41f70a..910085c 100644 --- a/README.md +++ b/README.md @@ -31,14 +31,15 @@ Once the installation process is complete, we can import the `TelegrafModule` in ```typescript import { Module } from '@nestjs/common'; import { TelegrafModule } from 'nestjs-telegraf'; +import { AppUpdate } from './app.update'; @Module({ imports: [ TelegrafModule.forRoot({ token: 'TELEGRAM_BOT_TOKEN', }), - providers: [AppUpdate], ], + providers: [AppUpdate], }) export class AppModule {} ```