javascript - Undefined is not a function - MeteorJS -
i keep getting undefined not function line below
institutions.insert({$set: {admin: meteor.userid(), title: inst_name, type: inst_type, school: inst_school, description: inst_desc}, $push: {members: meteor.userid()}});
here's full snippet in context. explain how correct error , what's causing it?
silly mistake -- meteor.userid() needs changed meteor.userid()
Comments
Post a Comment