mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-25 04:34:06 -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 = {
|
||||
name,
|
||||
};
|
||||
if (additionalFields.assigneeId) {
|
||||
body.assignee = parseInt(additionalFields.assigneeId as string, 10);
|
||||
if (additionalFields.assignee) {
|
||||
body.assignee = parseInt(additionalFields.assignee as string, 10);
|
||||
}
|
||||
responseData = await clickupApiRequest.call(this, 'POST', `/checklist/${checklistId}/checklist_item`, body);
|
||||
responseData = responseData.checklist;
|
||||
|
|
Loading…
Reference in a new issue