Add suport for subreddit search API

This commit is contained in:
CosmosDev
2022-12-15 20:16:13 +01:00
parent eec2a24eb3
commit baddb1aec2
4 changed files with 194 additions and 43 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ module.exports = function () {
let post = json[0].data.children[0].data;
let comments = json[1].data.children;
items += await getPostItem(post, req);
items += await getPostItem(post, req, protocol);
for (var i = 0; i < comments.length; i++) {
let comment = comments[i].data;