Send arg a number

This commit is contained in:
2025-03-09 17:56:16 +01:00
parent 9a8e97885c
commit 3c16148bb7

View File

@@ -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);