mirror of
https://github.com/Maks1mS/nestjs-telegraf.git
synced 2025-10-05 13:12:54 +03:00
docs: fix error in readme
This commit is contained in:
@@ -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',
|
||||
};
|
||||
|
Reference in New Issue
Block a user