🐛 Fix create sticker pack id is string

This commit is contained in:
LittleSheep 2024-09-27 13:10:25 +08:00
parent 9e7881745a
commit 729b7f3c00

View File

@ -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,
}),
})