ack comments

This commit is contained in:
Waleed Latif
2026-02-17 13:23:48 -08:00
parent b127bb41e4
commit f46ec3fc1b
2 changed files with 8 additions and 1 deletions

View File

@@ -385,6 +385,7 @@ export async function PUT(request: NextRequest) {
}, },
status: status || currentPost.status || 'current', status: status || currentPost.status || 'current',
title: title || currentPost.title, title: title || currentPost.title,
spaceId: currentPost.spaceId,
} }
if (content) { if (content) {

View File

@@ -964,7 +964,13 @@ export async function queueWebhookExecution(
if (triggerId && triggerId !== 'jsm_webhook') { if (triggerId && triggerId !== 'jsm_webhook') {
const webhookEvent = body.webhookEvent as string | undefined const webhookEvent = body.webhookEvent as string | undefined
if (!isJsmEventMatch(triggerId, webhookEvent || '', body)) { if (
!isJsmEventMatch(
triggerId,
webhookEvent || '',
body.issue_event_type_name as string | undefined
)
) {
logger.debug( logger.debug(
`[${options.requestId}] JSM event mismatch for trigger ${triggerId}. Event: ${webhookEvent}. Skipping execution.`, `[${options.requestId}] JSM event mismatch for trigger ${triggerId}. Event: ${webhookEvent}. Skipping execution.`,
{ {