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;
|
||||
}
|
||||
console.log(req.body);
|
||||
let dat;
|
||||
dat = req.body;
|
||||
let dat = req.body;
|
||||
if (typeof dat !== "string" || typeof dat == "undefined") {
|
||||
res.status(400).json({error: "ByteData is not a string or undefined"});
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue