Skip to content

Commit

Permalink
fix: make songs in album nullable
Browse files Browse the repository at this point in the history
  • Loading branch information
sumitkolhe committed Mar 30, 2024
1 parent 152d5ca commit 3128fe9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/albums/models/album.model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,5 @@ export const AlbumModel = z.object({
songCount: z.number(),
url: z.string(),
image: z.array(DownloadLinkModel),
songs: z.array(SongModel)
songs: z.array(SongModel).nullable()
})

0 comments on commit 3128fe9

Please sign in to comment.