mirror of
https://github.com/Maks1mS/nestjs-telegraf.git
synced 2025-04-03 15:13:42 +03:00
docs: fix error in readme
This commit is contained in:
parent
81261e1dc9
commit
ba256bea8f
@ -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',
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user