mirror of
https://codeberg.org/teddit/teddit.git
synced 2026-04-18 21:45:06 -04:00
Add suport for subreddit search API
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user