Flatten response for postComment:reply

This commit is contained in:
Iván Ovejero 2021-02-01 15:25:21 -03:00
parent 8a48647a4d
commit 58e44fa5dc

View file

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