2014-09-09 6 views
0
내가 정의되지지고 계속

되어 있지정의되지 않은 함수 아닙니다 - MeteorJS

Institutions.insert({$set: {admin: Meteor.userId(), title: inst_name, type: inst_type, school: inst_school, description: inst_desc}, $push: {members: Meteor.userID()}});

아래 라인을위한 기능 여기 맥락에서 전체 조각입니다. 누군가이 오류를 수정하는 방법과 그 원인을 설명해 주시겠습니까?

https://bpaste.net/show/f1e1c993cc0b

+3

는'Meteor.userId()'와''Meteor.userID()를 교체() Meteor.userId로 변경해야? –

+0

네, 그냥 오타입니다. – raina77ow

+0

아, 어리석은 실수. @DavidWelon 당신이 채팅 요청을 하시겠습니까? 문제가 생기면 전화 접속도 거부됩니다. 개인용으로 여기에 전체 코드를 입력 할 수 없습니다. –

답변

1

어리석은 실수 - Meteor.userID은()

관련 문제