Put those posts back where they came from or so help me
This commit is contained in:
parent
a595c60c2e
commit
8be90f42a5
@ -100,12 +100,8 @@ const mapComment = comment => ({
|
||||
|
||||
|
||||
module.exports = async () => {
|
||||
// const cache = new PostCache();
|
||||
// await cache.fetchLatest();
|
||||
|
||||
const cache = {
|
||||
posts: []
|
||||
}
|
||||
const cache = new PostCache();
|
||||
await cache.fetchLatest();
|
||||
|
||||
return Object.values(cache.posts)
|
||||
.sort(dateSort)
|
||||
|
Loading…
Reference in New Issue
Block a user