From b6fa866abe78603c9c53bdabb8c5cfdb4d1e5bc5 Mon Sep 17 00:00:00 2001 From: Phill Pover Date: Mon, 7 Apr 2025 01:11:59 +0100 Subject: [PATCH] Changing import to AlbumModule --- backend/src/song/song.module.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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]