🐛 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",
|
||||
headers: { "Content-Type": "application/json" },
|
||||
body: JSON.stringify({
|
||||
pack_id: route.params.id,
|
||||
pack_id: parseInt(route.params.id.toString()),
|
||||
...data,
|
||||
}),
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user