mirror of
https://github.com/Maks1mS/nestjs-telegraf.git
synced 2025-04-04 15:33:45 +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
|
```typescript
|
||||||
@Injectable()
|
@Injectable()
|
||||||
class TelegrafConfigService implements TelegrafOptionsFactory {
|
class TelegrafConfigService implements TelegrafOptionsFactory {
|
||||||
createMongooseOptions(): TelegrafModuleOptions {
|
createTelegrafOptions(): TelegrafModuleOptions {
|
||||||
return {
|
return {
|
||||||
token: 'TELEGRAM_BOT_TOKEN',
|
token: 'TELEGRAM_BOT_TOKEN',
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user