fix: Media request via search engine (#2677)

* fix search engine using season.id instead of season.seasonNumber on POST to overseerr/jellyseerr causing a incorrect request

* fix format on overseerr-integration.ts

---------

Co-authored-by: faugusto-oliveira <faugusto.oliveira@outlook.com>
This commit is contained in:
Flávio Augusto Oliveira Costaandfaugusto-oliveira authored and GitHub committed 2025-03-25 06:38:03 +00:00
1 parent a6f388d076
commit 5a8405a9a8
2 files changed
+3 -1

No files matched your search

@@ -280,6 +280,7 @@ const mediaInformationSchema = z.union([
seasons: z.array(
z.object({
id: z.number(),
seasonNumber: z.number(),
name: z.string().min(0),
episodeCount: z.number().min(0),
}),