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: [
TelegrafModule.forRoot({
token: 'TELEGRAM_BOT_TOKEN',
})
}),
providers: [AppUpdate],
],
})
export class AppModule {}
@ -96,4 +97,4 @@ export class EchoService {
...
}
```
See more on a docs page: https://nestjs-telegraf.vercel.app/extras/bot-injection
See more on a docs page: https://nestjs-telegraf.vercel.app/extras/bot-injection