feat: Deploy to Cloudflare workers
Some checks failed
Deployment / wordpress (push) Failing after 1s
Deployment / nuxt (push) Failing after 7s

This commit is contained in:
2026-01-27 19:59:34 -05:00
parent a1a8114f49
commit c6dfbeb247
12 changed files with 1139 additions and 381 deletions

View File

@@ -1,7 +1,7 @@
export default defineEventHandler(async (event) => {
try {
const variables = await readBody<AuthLoginForm>(event);
const { data } = await useServerGraphQLMutation(event, "AuthLogin", variables);
const { data } = await useGraphQLOperation(event, "AuthLogin", variables);
if (!data?.login) {
throw new Error("INVALID_LOGIN");
}