Skip to content

Commit

Permalink
fix: importing module-definnition
Browse files Browse the repository at this point in the history
  • Loading branch information
uptownhr committed Aug 17, 2023
1 parent 4c6114d commit 36d42fd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libs/lov-db/src/lib/lov-db.module.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Module } from '@nestjs/common';
import { LovDb } from './lov-db';
import { ConfigurableModuleClass } from './lov-db.configurable';
import { ConfigurableModuleClass } from './lov-db.module-definition';

@Module({
controllers: [],
Expand Down
5 changes: 4 additions & 1 deletion libs/lov-db/src/lib/lov-db.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
import { Inject, Injectable, OnModuleInit } from '@nestjs/common';
import { PrismaClient } from '../generated/client';
import { LovDbModuleConfig, MODULE_OPTIONS_TOKEN } from './lov-db.configurable';
import {
LovDbModuleConfig,
MODULE_OPTIONS_TOKEN,
} from './lov-db.module-definition';

console.log('token', MODULE_OPTIONS_TOKEN);

Expand Down

0 comments on commit 36d42fd

Please sign in to comment.