Skip to content

Commit

Permalink
fix: tests
Browse files Browse the repository at this point in the history
  • Loading branch information
barisusakli committed Jul 2, 2020
1 parent bd228d5 commit fd20e5c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/controllers/user.js
Expand Up @@ -72,6 +72,7 @@ userController.getUserDataByUID = async function (callerUid, uid) {

userData.email = settings.showemail && !meta.config.hideEmail ? userData.email : undefined;
userData.fullname = settings.showfullname && !meta.config.hideFullname ? userData.fullname : undefined;
userData.blocksCount = undefined;

return userData;
};
Expand Down

0 comments on commit fd20e5c

Please sign in to comment.