mirror of
https://github.com/Viren070/AIOStreams.git
synced 2025-12-01 23:14:04 +01:00
fix: coerce year field to string type in ParsedFileSchema for consistent data handling
This commit is contained in:
@@ -618,7 +618,7 @@ const ParsedFileSchema = z.object({
|
||||
audioTags: z.array(z.string()),
|
||||
languages: z.array(z.string()),
|
||||
title: z.string().optional(),
|
||||
year: z.string().optional(),
|
||||
year: z.coerce.string().optional(),
|
||||
season: z.number().optional(),
|
||||
seasons: z.array(z.number()).optional(),
|
||||
episode: z.number().optional(),
|
||||
|
||||
Reference in New Issue
Block a user