correct logic
This commit is contained in:
parent
ccabc1fd19
commit
c4e0e85c51
1 changed files with 2 additions and 2 deletions
|
|
@ -77,7 +77,7 @@ const getWallPage = async (page, publicKey) => {
|
||||||
*/
|
*/
|
||||||
let user = u
|
let user = u
|
||||||
|
|
||||||
if (publicKey && u._.sea.pub === publicKey) {
|
if (publicKey && u._.sea.pub !== publicKey) {
|
||||||
user = g.user(publicKey)
|
user = g.user(publicKey)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -105,7 +105,7 @@ const getWallPage = async (page, publicKey) => {
|
||||||
*/
|
*/
|
||||||
let user = u
|
let user = u
|
||||||
|
|
||||||
if (publicKey && u._.sea.pub) {
|
if (publicKey && u._.sea.pub !== publicKey) {
|
||||||
user = g.user(publicKey)
|
user = g.user(publicKey)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue