This commit is contained in:
jusax23 2023-03-17 20:22:15 +01:00
parent 92265c80dc
commit 2c324b26da
Signed by: jusax23
GPG key ID: 499E2AA870C1CD41

View file

@ -29,7 +29,7 @@ export const addPostMethods = (server: express.Express) => {
res.send("not active"); res.send("not active");
return; return;
} }
debug("POST", "reveived:", req.body); debug("POST", "received:", req.body);
const aws = (state: string, data: any) => { const aws = (state: string, data: any) => {
debug("POST", "send:", state, data); debug("POST", "send:", state, data);
res.status(state == "error" ? 400 : 200); res.status(state == "error" ? 400 : 200);