mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
Rename comment target property
This commit is contained in:
parent
3e0c2eedaa
commit
00826c3f63
|
@ -30,8 +30,8 @@ export const commentFields = [
|
||||||
// comment: create
|
// comment: create
|
||||||
// ----------------------------------
|
// ----------------------------------
|
||||||
{
|
{
|
||||||
displayName: 'Target',
|
displayName: 'Target ID',
|
||||||
name: 'target',
|
name: 'targetId',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
default: '',
|
default: '',
|
||||||
description: 'ID of the comment target.',
|
description: 'ID of the comment target.',
|
||||||
|
|
|
@ -134,7 +134,7 @@ export class Reddit implements INodeType {
|
||||||
// ----------------------------------
|
// ----------------------------------
|
||||||
|
|
||||||
const qs: IDataObject = {
|
const qs: IDataObject = {
|
||||||
thing_id: this.getNodeParameter('target', i),
|
thing_id: this.getNodeParameter('targetId', i),
|
||||||
text: this.getNodeParameter('text', i),
|
text: this.getNodeParameter('text', i),
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue