[autofix.ci] apply automated fixes

This commit is contained in:
autofix-ci[bot]
2026-04-05 18:42:34 +00:00
committed by GitHub
parent ddde6a7bcb
commit b8812dd7f2

View File

@@ -166,7 +166,10 @@ const { handler, api } = betterAuth({
message: "Invitation has already been used", message: "Invitation has already been used",
}); });
} }
if (_user.email.toLowerCase().trim() !== invitation.email.toLowerCase().trim()) { if (
_user.email.toLowerCase().trim() !==
invitation.email.toLowerCase().trim()
) {
throw new APIError("BAD_REQUEST", { throw new APIError("BAD_REQUEST", {
message: "Email does not match invitation", message: "Email does not match invitation",
}); });