docs: clarify that AppUpdate is a provider (#806)

This commit is contained in:
Micael Levi L. Cavalcante 2022-05-24 06:10:04 -04:00 committed by GitHub
parent 1c4bbfe245
commit 114d0a9cda
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,7 +36,8 @@ import { TelegrafModule } from 'nestjs-telegraf';
imports: [ imports: [
TelegrafModule.forRoot({ TelegrafModule.forRoot({
token: 'TELEGRAM_BOT_TOKEN', token: 'TELEGRAM_BOT_TOKEN',
}) }),
providers: [AppUpdate],
], ],
}) })
export class AppModule {} export class AppModule {}