Merge branch 'feat/walls' of https://github.com/shocknet/api into feat/walls
This commit is contained in:
commit
37c50d2132
1 changed files with 1 additions and 7 deletions
|
|
@ -63,14 +63,8 @@ const getWallPage = async page => {
|
|||
...thePage
|
||||
}
|
||||
|
||||
// delete unsuccessful writes
|
||||
Object.keys(clean.posts).forEach(k => {
|
||||
if (clean.posts[k] === null) {
|
||||
delete clean.posts[k]
|
||||
}
|
||||
})
|
||||
|
||||
for (const [key, post] of Object.entries(clean.posts)) {
|
||||
// delete unsuccessful writes
|
||||
if (post === null) {
|
||||
delete clean.posts[key]
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue