fix(art): flipped condition on existing sub check

This commit is contained in:
2026-03-09 00:38:24 +07:00 Unverified
parent d91f36fc52
commit 9c98951d1d
+1 -1
View File
@@ -51,7 +51,7 @@ const ArtifactSubmission = z.object(
.from(submissions)
.where(eq(submissions.uid, uid))
.limit(1)
.then((r) => !!r.length),
.then((r) => !r.length),
"คุณลงทะเบียนไปแล้ว",
),
character: z.string().refine(