diff --git a/src/cache.js b/src/cache.js index 114aaa8..2253851 100644 --- a/src/cache.js +++ b/src/cache.js @@ -194,7 +194,8 @@ const getUsersPosts = (user) => { } return posts } else { - return getPosts(fast) + const posts = getPosts(fast) + return Object.keys(posts).map(k => posts[k]).filler(p => p !== null) } }