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]
|
||||
clean.count--
|
||||
} else {
|
||||
// eslint-disable-next-line no-await-in-loop
|
||||
post.author = await Wall.getMyUser()
|
||||
post.author = publicKey
|
||||
? // 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
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue