mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-26 21:19:43 -08:00
Fix response traversal for postComment:add
This commit is contained in:
parent
7d99ed0be7
commit
8a48647a4d
|
@ -230,8 +230,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.data.things;
|
|
||||||
|
|
||||||
} else if (operation === 'getAll') {
|
} else if (operation === 'getAll') {
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue