Rename comment target property

This commit is contained in:
Iván Ovejero 2021-01-29 12:26:54 -03:00
parent 3e0c2eedaa
commit 00826c3f63
2 changed files with 3 additions and 3 deletions

View file

@ -30,8 +30,8 @@ export const commentFields = [
// comment: create
// ----------------------------------
{
displayName: 'Target',
name: 'target',
displayName: 'Target ID',
name: 'targetId',
type: 'string',
default: '',
description: 'ID of the comment target.',

View file

@ -134,7 +134,7 @@ export class Reddit implements INodeType {
// ----------------------------------
const qs: IDataObject = {
thing_id: this.getNodeParameter('target', i),
thing_id: this.getNodeParameter('targetId', i),
text: this.getNodeParameter('text', i),
};