mirror of
https://github.com/simstudioai/sim.git
synced 2026-02-18 10:22:00 -05:00
ack comments
This commit is contained in:
@@ -385,6 +385,7 @@ export async function PUT(request: NextRequest) {
|
||||
},
|
||||
status: status || currentPost.status || 'current',
|
||||
title: title || currentPost.title,
|
||||
spaceId: currentPost.spaceId,
|
||||
}
|
||||
|
||||
if (content) {
|
||||
|
||||
@@ -964,7 +964,13 @@ export async function queueWebhookExecution(
|
||||
if (triggerId && triggerId !== 'jsm_webhook') {
|
||||
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(
|
||||
`[${options.requestId}] JSM event mismatch for trigger ${triggerId}. Event: ${webhookEvent}. Skipping execution.`,
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user