Skip to content

Commit

Permalink
Bug fix for edit team name
Browse files Browse the repository at this point in the history
  • Loading branch information
DiZy committed Sep 21, 2017
1 parent 85e0813 commit 881be14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/js/components/teampicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,10 @@ teampicker = (function() {

function editTeam(teamId, teamName) {
editTeamNameModal.open(teamName, function(newTeamName) {
customAjax('put', _teamsUrl + '/' + teamId +'/edit',
customAjax('patch', _teamsUrl + '/' + teamId,
{
/*teamId: teamId,*/
newTeamName: newTeamName
name: newTeamName
},
function(data) {
loadSelectOptions(function() {
Expand Down

0 comments on commit 881be14

Please sign in to comment.