fix(clickup/new-tasks): correct internal ID
This commit is contained in:
@@ -124,7 +124,7 @@ export default defineTrigger({
|
|||||||
const dataItem = {
|
const dataItem = {
|
||||||
raw: $.request.body,
|
raw: $.request.body,
|
||||||
meta: {
|
meta: {
|
||||||
internalId: Crypto.randomUUID(),
|
internalId: $.request.body.task_id,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -135,7 +135,7 @@ export default defineTrigger({
|
|||||||
const sampleEventData = {
|
const sampleEventData = {
|
||||||
event: 'taskCreated',
|
event: 'taskCreated',
|
||||||
task_id: '86enn7pg7',
|
task_id: '86enn7pg7',
|
||||||
webhook_id: $.webhookUrl.split('/')[5],
|
webhook_id: Crypto.randomUUID(),
|
||||||
history_items: [],
|
history_items: [],
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user