mirror of
https://github.com/simstudioai/sim.git
synced 2026-02-19 02:34:37 -05:00
ack comments
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
@@ -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.`,
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user