Update lib/types/twitter-v1.js
Browse files- 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.
|
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 };
|