Fix response traversal for postComment:add

This commit is contained in:
Iván Ovejero 2021-02-01 15:23:14 -03:00
parent 7d99ed0be7
commit 8a48647a4d

View file

@ -230,8 +230,7 @@ export class Reddit implements INodeType {
};
responseData = await redditApiRequest.call(this, 'POST', 'api/comment', qs);
responseData = responseData.data.things;
responseData = responseData.json.data.things[0].data;
} else if (operation === 'getAll') {