🐛 Fix value passing issue
This commit is contained in:
parent
caf75166a0
commit
2e74dcabd0
@ -123,7 +123,7 @@ async function submit() {
|
||||
const res = await request("/api/users", {
|
||||
method: "POST",
|
||||
headers: { "Content-Type": "application/json" },
|
||||
body: JSON.stringify(data),
|
||||
body: JSON.stringify(payload),
|
||||
})
|
||||
if (res.status !== 200) {
|
||||
error.value = await res.text()
|
||||
|
Loading…
Reference in New Issue
Block a user