Skip to content

Commit f46ec3f

Browse files
committed
ack comments
1 parent b127bb4 commit f46ec3f

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

apps/sim/app/api/tools/confluence/blogposts/route.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -385,6 +385,7 @@ export async function PUT(request: NextRequest) {
385385
},
386386
status: status || currentPost.status || 'current',
387387
title: title || currentPost.title,
388+
spaceId: currentPost.spaceId,
388389
}
389390

390391
if (content) {

apps/sim/lib/webhooks/processor.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -964,7 +964,13 @@ export async function queueWebhookExecution(
964964
if (triggerId && triggerId !== 'jsm_webhook') {
965965
const webhookEvent = body.webhookEvent as string | undefined
966966

967-
if (!isJsmEventMatch(triggerId, webhookEvent || '', body)) {
967+
if (
968+
!isJsmEventMatch(
969+
triggerId,
970+
webhookEvent || '',
971+
body.issue_event_type_name as string | undefined
972+
)
973+
) {
968974
logger.debug(
969975
`[${options.requestId}] JSM event mismatch for trigger ${triggerId}. Event: ${webhookEvent}. Skipping execution.`,
970976
{

0 commit comments

Comments
 (0)