mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-12 21:37:32 -08:00
🐛 Fix another wrong property on ClickUp-Node
This commit is contained in:
parent
bb4d7a4072
commit
e11d61da9d
|
@ -371,8 +371,8 @@ export class ClickUp implements INodeType {
|
||||||
const body: IDataObject = {
|
const body: IDataObject = {
|
||||||
name,
|
name,
|
||||||
};
|
};
|
||||||
if (additionalFields.assigneeId) {
|
if (additionalFields.assignee) {
|
||||||
body.assignee = parseInt(additionalFields.assigneeId as string, 10);
|
body.assignee = parseInt(additionalFields.assignee as string, 10);
|
||||||
}
|
}
|
||||||
responseData = await clickupApiRequest.call(this, 'POST', `/checklist/${checklistId}/checklist_item`, body);
|
responseData = await clickupApiRequest.call(this, 'POST', `/checklist/${checklistId}/checklist_item`, body);
|
||||||
responseData = responseData.checklist;
|
responseData = responseData.checklist;
|
||||||
|
|
Loading…
Reference in a new issue