Skip to content

Commit

Permalink
fix: marks PlexTvShowSchema#Country as optional, like other Plex medi…
Browse files Browse the repository at this point in the history
…a Country fields (chrisbenincasa#674)

Closes chrisbenincasa#670
  • Loading branch information
chrisbenincasa authored Aug 8, 2024
1 parent 6d505e9 commit d112c3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/src/plex/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ export const PlexTvShowSchema = BasePlexMediaSchema.extend({
childCount: z.number(),
Collection: z.array(PlexJoinItemSchema).optional(),
contentRating: z.string(),
Country: z.array(PlexJoinItemSchema),
Country: z.array(PlexJoinItemSchema).optional(),
duration: z.number(),
Genre: z.array(PlexJoinItemSchema),
index: z.number(),
Expand Down

0 comments on commit d112c3d

Please sign in to comment.