import { Module } from '@nestjs/common'; import { TypeOrmModule } from '@nestjs/typeorm'; import { RefCodeWhiteList } from '../../database/entities'; import { WhitelistService } from './whitelist.service'; @Module({ imports: [TypeOrmModule.forFeature([RefCodeWhiteList], 'funki-id')], providers: [WhitelistService], exports: [WhitelistService], }) export class WhitelistModule {}