Skip to content

Commit 3128fe9

Browse files
committed
fix: make songs in album nullable
1 parent 152d5ca commit 3128fe9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/modules/albums/models/album.model.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,5 @@ export const AlbumModel = z.object({
3939
songCount: z.number(),
4040
url: z.string(),
4141
image: z.array(DownloadLinkModel),
42-
songs: z.array(SongModel)
42+
songs: z.array(SongModel).nullable()
4343
})

0 commit comments

Comments
 (0)