Skip to content

Commit 3c41585

Browse files
committed
api/schema: add old variables from cobalt 10 for backwards compatibility
1 parent 1a712db commit 3c41585

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

api/src/processing/schema.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,5 +47,9 @@ export const apiSchema = z.object({
4747

4848
youtubeHLS: z.boolean().default(false),
4949
youtubeBetterAudio: z.boolean().default(false),
50+
51+
// temporarily kept for backwards compatibility with cobalt 10 schema
52+
twitterGif: z.boolean().default(false),
53+
tiktokH265: z.boolean().default(false),
5054
})
5155
.strict();

0 commit comments

Comments
 (0)