🐛 Fix comment create with assignee ID (repair field name) (#906)

This commit is contained in:
vvvictor07 2020-09-01 00:38:28 +05:00 committed by GitHub
parent 6fdbdb5957
commit bb4d7a4072
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -414,7 +414,7 @@ export class ClickUp implements INodeType {
comment_text: commentText,
};
if (additionalFields.assignee) {
body.assigneeId = additionalFields.assignee as string;
body.assignee = parseInt(additionalFields.assignee as string, 10);
}
if (additionalFields.notifyAll) {
body.notify_all = additionalFields.notifyAll as boolean;