Skip to content

Commit

Permalink
fix: allow use file module in post module
Browse files Browse the repository at this point in the history
  • Loading branch information
2paperstar committed Jun 7, 2024
1 parent f586cdd commit f322cca
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/post/post.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@ import { PostController } from './post.controller';
import { PostRepository } from './post.repository';
import { ConfigModule } from '@nestjs/config';
import { PostMapper } from './post.mapper';
import { FileModule } from 'src/file/file.module';

@Module({
imports: [PrismaModule, ConfigModule],
imports: [PrismaModule, ConfigModule, FileModule],
controllers: [PostController],
providers: [PostService, PostRepository, PostMapper],
})
Expand Down

0 comments on commit f322cca

Please sign in to comment.