diff --git a/src/routes/standard_pages.js b/src/routes/standard_pages.js index 3d82371..ff0fcad 100644 --- a/src/routes/standard_pages.js +++ b/src/routes/standard_pages.js @@ -79,7 +79,7 @@ router.get(`${config.site_path}/post/:post_index`, (req, res) => { post, postID, user: data.getdata('users','id', post.userID), - comments: data.getdata('comments','id', postID)["comments"], + comments: data.getdata('comments','id', postID), fromUnixTime, format, getUnixTime,