0
0
mirror of https://github.com/Maks1mS/nestjs-telegraf.git synced 2025-04-02 22:53:44 +03:00

Update telegraf-all-bots.provider.ts

This commit is contained in:
Taymuraz Kaytmazov 2022-07-09 18:53:22 +08:00 committed by GitHub
parent 92ff5164a6
commit 295ca4ffdc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,8 +4,6 @@ import { TELEGRAF_ALL_BOTS } from './telegraf.constants';
export const allBotsMap = new Map<string, Telegraf<any>>(); export const allBotsMap = new Map<string, Telegraf<any>>();
setTimeout(() => console.log(allBotsMap), 2000);
export const telegrafAllBotsProvider: Provider = { export const telegrafAllBotsProvider: Provider = {
provide: TELEGRAF_ALL_BOTS, provide: TELEGRAF_ALL_BOTS,
useValue: allBotsMap, useValue: allBotsMap,