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?

https://bpaste.net/show/f1e1c993cc0b

silly mistake -- meteor.userid() needs changed meteor.userid()


Comments

Popular posts from this blog

rdbms - what exactly the undo information lives in oracle? -

bash - How do you programmatically add a bats test? -

clojure - 'get' replacement that throws exception on not found? -