We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7d96711 commit fb0502dCopy full SHA for fb0502d
1 file changed
apps/web/lib/api/scrape-creators/schema.ts
@@ -9,7 +9,8 @@ export const socialProfileSchema = z.preprocess(
9
typeof data.message === "string" &&
10
(data.message.toLowerCase().includes("doesn't exist") ||
11
data.message.toLowerCase().includes("does not exist") ||
12
- data.message.toLowerCase().includes("not found"))
+ data.message.toLowerCase().includes("not found") ||
13
+ data.message.toLowerCase().includes("restricted"))
14
) {
15
return {
16
...data,
0 commit comments