mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-25 20:54:07 -08:00
Flatten response for postComment:reply
This commit is contained in:
parent
8a48647a4d
commit
58e44fa5dc
|
@ -268,8 +268,7 @@ export class Reddit implements INodeType {
|
||||||
};
|
};
|
||||||
|
|
||||||
responseData = await redditApiRequest.call(this, 'POST', 'api/comment', qs);
|
responseData = await redditApiRequest.call(this, 'POST', 'api/comment', qs);
|
||||||
|
responseData = responseData.json.data.things[0].data;
|
||||||
responseData = responseData.json.data.things;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// *********************************************************************
|
// *********************************************************************
|
||||||
|
|
Loading…
Reference in a new issue