From 7b3edc070678a329472bfd957a18f4a7a36c035b Mon Sep 17 00:00:00 2001 From: Sumit Kolhe <35036894+sumitkolhe@users.noreply.github.com> Date: Mon, 25 Mar 2024 14:57:04 +0530 Subject: [PATCH] fix: change song year type to number --- src/modules/songs/models/song.model.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/songs/models/song.model.ts b/src/modules/songs/models/song.model.ts index e7a4de77..34b993c5 100644 --- a/src/modules/songs/models/song.model.ts +++ b/src/modules/songs/models/song.model.ts @@ -12,7 +12,7 @@ export const SongAPIResponseModel = z.object({ perma_url: z.string(), image: z.string(), language: z.string(), - year: z.string(), + year: z.number(), play_count: z.string(), explicit_content: z.string(), list_count: z.string(),