Gateway: ack skipped hook transforms with 204
This commit is contained in:
1 parent
7e9be3c28c
commit
12e27f9e5e
3 files changed
+64
-1
No files matched your search
@@ -1706,6 +1706,11 @@ export async function startGatewayServer(
|
||||
sendJson(res, 400, { ok: false, error: mapped.error });
|
||||
return true;
|
||||
}
|
||||
if (mapped.action === null) {
|
||||
res.statusCode = 204;
|
||||
res.end();
|
||||
return true;
|
||||
}
|
||||
if (mapped.action.kind === "wake") {
|
||||
dispatchWakeHook({
|
||||
text: mapped.action.text,
|
||||
|
||||
Reference in new issue
Block a user