Fixing syntax error in teams-controller