get third party user for posts
This commit is contained in:
parent
8d3255eb5a
commit
5cce69fb75
1 changed files with 5 additions and 2 deletions
|
|
@ -107,8 +107,11 @@ const getWallPage = async (page, publicKey) => {
|
||||||
delete clean.posts[key]
|
delete clean.posts[key]
|
||||||
clean.count--
|
clean.count--
|
||||||
} else {
|
} else {
|
||||||
// eslint-disable-next-line no-await-in-loop
|
post.author = publicKey
|
||||||
post.author = await Wall.getMyUser()
|
? // eslint-disable-next-line no-await-in-loop
|
||||||
|
await Wall.getAnUser(publicKey)
|
||||||
|
: // eslint-disable-next-line no-await-in-loop
|
||||||
|
await Wall.getMyUser()
|
||||||
post.id = key
|
post.id = key
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue