correct logic

This commit is contained in:
Daniel Lugo 2020-07-13 17:28:25 -04:00
parent ccabc1fd19
commit c4e0e85c51

View file

@ -77,7 +77,7 @@ const getWallPage = async (page, publicKey) => {
*/
let user = u
if (publicKey && u._.sea.pub === publicKey) {
if (publicKey && u._.sea.pub !== publicKey) {
user = g.user(publicKey)
}
@ -105,7 +105,7 @@ const getWallPage = async (page, publicKey) => {
*/
let user = u
if (publicKey && u._.sea.pub) {
if (publicKey && u._.sea.pub !== publicKey) {
user = g.user(publicKey)
}