diff --git a/backend/src/song/song.module.ts b/backend/src/song/song.module.ts index 88b8547..e61e288 100644 --- a/backend/src/song/song.module.ts +++ b/backend/src/song/song.module.ts @@ -1,12 +1,15 @@ import { Module } from '@nestjs/common'; import { TypeOrmModule } from '@nestjs/typeorm'; import { Song } from './song.entity'; -import { Album } from '../album/album.entity'; +import { AlbumModule } from '../album/album.module'; import { SongController } from './song.controller'; import { SongService } from './song.service'; @Module({ - imports: [TypeOrmModule.forFeature([Song]),TypeOrmModule.forFeature([Album])], + imports: [ + TypeOrmModule.forFeature([Song]), + AlbumModule + ], controllers: [SongController], providers: [SongService], exports: [TypeOrmModule]