randydev commited on
Commit
2a51a0f
·
verified ·
1 Parent(s): 5e27f64

Update lib/types/twitter-v1.js

Browse files
Files changed (1) hide show
  1. lib/types/twitter-v1.js +1 -3
lib/types/twitter-v1.js CHANGED
@@ -31,8 +31,6 @@ const TwitterDLResponseSchema = z.object({
31
  })
32
  });
33
 
34
- const TwitterDlSchema = z.object({
35
- videos: z.array(TwitterDLVariantSchema),
36
- });
37
 
38
  export { TwitterDlArgsSchema, TwitterDLVariantSchema, TwitterDLResponseSchema, TwitterDlSchema };
 
31
  })
32
  });
33
 
34
+ const TwitterDlSchema = z.array(TwitterDLVariantSchema).or(TwitterDLVariantSchema);
 
 
35
 
36
  export { TwitterDlArgsSchema, TwitterDLVariantSchema, TwitterDLResponseSchema, TwitterDlSchema };