fix get users posts as array

This commit is contained in:
Tyler Murphy 2023-01-23 21:57:56 -05:00
parent 7391e75fba
commit 63db4bd8ab

View file

@ -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)
}
}