Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // join team by id
- this.get("#/join/:id", function (context) {
- let teamId = context.params.id.substr(1);
- teamsService.joinTeam(teamId)
- .then(function (userInfo) {
- auth.saveSession(userInfo);
- auth.showInfo("Joined team!")
- displayCatalog(context);
- }).catch(auth.handleError)
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement