leavclass error throw

This commit is contained in:
yamanq 2016-08-10 05:06:57 -04:00
parent 7d2ad898ae
commit 7d3e2b60fc

View File

@ -71,7 +71,7 @@ Meteor.methods({
Meteor.users.update({_id: Meteor.userId()}, {$set: {profile: current}});
return 1
} else {
throw "You are the admin of this class. Transfer ownership in order to leave this class."
throw "You are currently the admin of this class. Transfer ownership in order to leave this class."
}
}