feat(lib/telegraf.service.ts): set bot public

This commit is contained in:
Vito Macchia
2020-01-23 21:10:53 +03:00
committed by Aleksandr Bukhalo
parent 6138ae0918
commit cef3796f01
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ import { InvalidConfigurationException } from './exeptions'
export class TelegrafService {
private readonly logger = new Logger(TelegrafService.name, true)
private readonly sitePublicUrl?: string
private readonly bot: Telegraf<ContextMessageUpdate>
public readonly bot: Telegraf<ContextMessageUpdate>
private ref: ModuleRef
public constructor(
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "nestjs-telegraf",
"version": "0.7.0",
"version": "0.7.1",
"description": "Telegraf module for Nest framework",
"keywords": [
"nest",
@@ -64,4 +64,4 @@
"git add"
]
}
}
}