mirror of
https://github.com/n8n-io/n8n.git
synced 2025-02-21 02:56:40 -08:00
🐛 Fix comment create with assignee ID (repair field name) (#906)
This commit is contained in:
parent
6fdbdb5957
commit
bb4d7a4072
|
@ -414,7 +414,7 @@ export class ClickUp implements INodeType {
|
||||||
comment_text: commentText,
|
comment_text: commentText,
|
||||||
};
|
};
|
||||||
if (additionalFields.assignee) {
|
if (additionalFields.assignee) {
|
||||||
body.assigneeId = additionalFields.assignee as string;
|
body.assignee = parseInt(additionalFields.assignee as string, 10);
|
||||||
}
|
}
|
||||||
if (additionalFields.notifyAll) {
|
if (additionalFields.notifyAll) {
|
||||||
body.notify_all = additionalFields.notifyAll as boolean;
|
body.notify_all = additionalFields.notifyAll as boolean;
|
||||||
|
|
Loading…
Reference in a new issue