mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-03 06:20:20 +00:00
fix: LINE webhook verification 200; fix tsgo error (#16582) (thanks @arosstale)
This commit is contained in:
@@ -48,7 +48,7 @@ export function createLineWebhookMiddleware(
|
||||
if (rawBody) {
|
||||
const body = parseWebhookBody(req, rawBody);
|
||||
if (body && Array.isArray(body.events) && body.events.length === 0) {
|
||||
logVerbose("line: webhook verification request (empty events, no signature) — 200 OK");
|
||||
logVerbose("line: webhook verification request (empty events, no signature) - 200 OK");
|
||||
res.status(200).json({ status: "ok" });
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user