mirror of
https://github.com/Maks1mS/nestjs-telegraf.git
synced 2024-12-24 15:04:38 +03:00
fix(client): fix import and export
This commit is contained in:
parent
8e7bdd33f7
commit
303caeae8c
@ -1,5 +1,5 @@
|
||||
import { Injectable, Inject } from '@nestjs/common'
|
||||
import Telegram from 'telegraf/telegram'
|
||||
const Telegram = require('telegraf/telegram')
|
||||
|
||||
import { TokenInjectionToken } from './TokenInjectionToken'
|
||||
import { TelegramModuleOptionsFactory } from './TelegramModuleOptionsFactory'
|
||||
|
@ -33,7 +33,7 @@ export class TelegramModule implements NestModule {
|
||||
useClass: factory.useClass,
|
||||
},
|
||||
],
|
||||
exports: [TelegramBot],
|
||||
exports: [TelegramBot, TelegramClient],
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user