File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
app/api/tools/confluence/blogposts Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff 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 ) {
Original file line number Diff line number Diff 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 {
You can’t perform that action at this time.
0 commit comments