mirror of
https://github.com/AbaTekNTNU/followspot-psn.git
synced 2025-12-06 22:03:05 +00:00
Send arg a number
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user