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 () => {
|
module.exports = async () => {
|
||||||
// const cache = new PostCache();
|
const cache = new PostCache();
|
||||||
// await cache.fetchLatest();
|
await cache.fetchLatest();
|
||||||
|
|
||||||
const cache = {
|
|
||||||
posts: []
|
|
||||||
}
|
|
||||||
|
|
||||||
return Object.values(cache.posts)
|
return Object.values(cache.posts)
|
||||||
.sort(dateSort)
|
.sort(dateSort)
|
||||||
|
Loading…
Reference in New Issue
Block a user