feat: remove TikTok auto-feed integration

This commit is contained in:
2026-07-06 19:30:11 +07:00 Unverified
parent 48c4dae218
commit 6a4f06f5aa
4 changed files with 2 additions and 102 deletions
+2 -2
View File
@@ -88,11 +88,11 @@ const buildSchema = (questions: Question[]) => {
const plainLabel = stripHtml(q.label);
if (q.type === "checkbox") {
shape[q.id] = q.required
? z.array(z.string()).min(1, `จำเป็นต้องตอบ "${plainLabel}"`)
? z.array(z.string()).min(1, `จำเป็นต้องตอบข้อนี้`)
: z.array(z.string()).optional();
} else {
shape[q.id] = q.required
? z.string().min(1, `จำเป็นต้องตอบ "${plainLabel}"`)
? z.string().min(1, `จำเป็นต้องตอบข้อนี้`)
: z.string().optional();
}
});