mirror of
https://github.com/detleph/server.git
synced 2026-09-09 16:06:21 +02:00
[create-pull-request] push formatted files (#27)
Co-authored-by: Stefan-5422 <[email protected]>
This commit is contained in:
co-authored by
Stefan-5422
parent
907c2c68fa
commit
626ae40683
+3
-3
@@ -31,10 +31,10 @@ async function main() {
|
|||||||
if (err) {
|
if (err) {
|
||||||
res.status(400).send({
|
res.status(400).send({
|
||||||
type: "error",
|
type: "error",
|
||||||
payload: "The body of your request did not contain valid data"
|
payload: "The body of your request did not contain valid data",
|
||||||
})
|
});
|
||||||
} else {
|
} else {
|
||||||
next()
|
next();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user