data restructure for registration
This commit is contained in:
parent
d610379337
commit
c18ca5f558
1 changed files with 2 additions and 2 deletions
|
|
@ -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(() => ({}));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue