docs: fix error in readme

This commit is contained in:
Aleksandr Bukhalo 2020-04-24 14:01:38 +03:00
parent 81261e1dc9
commit ba256bea8f

View File

@ -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',
};