mirror of
https://github.com/benjamin-wilson/public-pool.git
synced 2026-09-29 09:05:06 -07:00
telegram bot
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
import { Global, Module } from '@nestjs/common';
|
||||
import { TypeOrmModule } from '@nestjs/typeorm';
|
||||
|
||||
import { TelegramSubscriptionsEntity } from './telegram-subscriptions.entity';
|
||||
import { TelegramSubscriptionsService } from './telegram-subscriptions.service';
|
||||
|
||||
|
||||
@Global()
|
||||
@Module({
|
||||
imports: [TypeOrmModule.forFeature([TelegramSubscriptionsEntity])],
|
||||
providers: [TelegramSubscriptionsService],
|
||||
exports: [TypeOrmModule, TelegramSubscriptionsService],
|
||||
})
|
||||
export class TelegramSubscriptionsModule { }
|
||||
Reference in New Issue
Block a user