data restructure for registration

This commit is contained in:
makearmy 2025-10-03 07:32:08 -04:00
parent d610379337
commit c18ca5f558

View file

@ -77,8 +77,8 @@ export async function POST(req: Request) {
"Content-Type": "application/json",
Accept: "application/json",
},
body: JSON.stringify({ data: createPayload }),
cache: "no-store",
body: JSON.stringify(createPayload), // <-- raw payload (system endpoint)
cache: "no-store",
});
const cj = await createRes.json().catch(() => ({}));