diff --git a/api/src/models/utils/language.ts b/api/src/models/utils/language.ts index b1d0bcf3..2f902d63 100644 --- a/api/src/models/utils/language.ts +++ b/api/src/models/utils/language.ts @@ -23,7 +23,6 @@ export const Language = (props?: NonNullable[0]>) => This is a BCP 47 language code (the IETF Best Current Practices on Tags for Identifying Languages). BCP 47 is also known as RFC 5646. It subsumes ISO 639 and is backward compatible with it. `, - error: "Expected a valid (and NORMALIZED) bcp-47 language code.", examples: ["en-US"], ...props, }), diff --git a/api/src/models/video.ts b/api/src/models/video.ts index 96da6f0f..b01a11bd 100644 --- a/api/src/models/video.ts +++ b/api/src/models/video.ts @@ -65,7 +65,7 @@ export const SeedVideo = t.Object({ "Kyoo will prefer playing back the highest `version` number if there are multiples rendering.", }), - guess: t.Optional(Guess), + guess: Guess, }); export type SeedVideo = typeof SeedVideo.static;