🐛 Fix create sticker pack id is string
This commit is contained in:
parent
9e7881745a
commit
729b7f3c00
@ -143,7 +143,7 @@ async function submit(evt: SubmitEvent) {
|
|||||||
method: "POST",
|
method: "POST",
|
||||||
headers: { "Content-Type": "application/json" },
|
headers: { "Content-Type": "application/json" },
|
||||||
body: JSON.stringify({
|
body: JSON.stringify({
|
||||||
pack_id: route.params.id,
|
pack_id: parseInt(route.params.id.toString()),
|
||||||
...data,
|
...data,
|
||||||
}),
|
}),
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user