send act
This commit is contained in:
parent
1ab05c98af
commit
b91ad7e015
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ export const addPostMethods = (server: express.Express) => {
|
||||||
res.send("not active");
|
res.send("not active");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
debug("POST", "received:", req.body);
|
debug("POST", "act:", act, "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);
|
||||||
|
|
Loading…
Reference in a new issue