not a fix
This commit is contained in:
parent
e20f2c24ff
commit
614c307618
1 changed files with 1 additions and 2 deletions
|
@ -12,8 +12,7 @@ export default async function handler(req, res) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
console.log(req.body);
|
console.log(req.body);
|
||||||
let dat;
|
let dat = req.body;
|
||||||
dat = req.body;
|
|
||||||
if (typeof dat !== "string" || typeof dat == "undefined") {
|
if (typeof dat !== "string" || typeof dat == "undefined") {
|
||||||
res.status(400).json({error: "ByteData is not a string or undefined"});
|
res.status(400).json({error: "ByteData is not a string or undefined"});
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue