Print data in mongo DB

0

Script:

if ('admin'== currentUser.roles){
       return Meteor.users.find({"profile.verify": "1"});
     }else{
       return Collection.find({ userid: Meteor.userId()});
     }
 }
    
asked by anonymous 11.05.2018 / 11:13

0 answers