Skip to content

Commit

Permalink
Fixed projects updateBadge PUT call, now includes body parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
czim authored and m1guelpf committed Jan 2, 2020
1 parent d1bc7a9 commit b6684dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Gitlab/Api/Projects.php
Original file line number Diff line number Diff line change
Expand Up @@ -910,7 +910,7 @@ public function removeBadge($project_id, $badge_id)
*/
public function updateBadge($project_id, $badge_id, array $params = array())
{
return $this->put($this->getProjectPath($project_id, 'badges/' . $this->encodePath($badge_id)));
return $this->put($this->getProjectPath($project_id, 'badges/' . $this->encodePath($badge_id)), $params);
}


Expand Down

0 comments on commit b6684dc

Please sign in to comment.