diff --git a/frontend/src/components/Settings.svelte b/frontend/src/components/Settings.svelte index e860609..453a0fd 100644 --- a/frontend/src/components/Settings.svelte +++ b/frontend/src/components/Settings.svelte @@ -10,7 +10,7 @@ "Content-Type": "application/json", }, body: JSON.stringify({ - id: arg, + id: Number(arg), }), }); @@ -24,7 +24,7 @@ "Content-Type": "application/json", }, body: JSON.stringify({ - id: arg, + id: Number(arg), }), }); console.log(response);