Skip to content

Commit b6684dc

Browse files
czimm1guelpf
authored andcommitted
Fixed projects updateBadge PUT call, now includes body parameters
1 parent d1bc7a9 commit b6684dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Gitlab/Api/Projects.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -910,7 +910,7 @@ public function removeBadge($project_id, $badge_id)
910910
*/
911911
public function updateBadge($project_id, $badge_id, array $params = array())
912912
{
913-
return $this->put($this->getProjectPath($project_id, 'badges/' . $this->encodePath($badge_id)));
913+
return $this->put($this->getProjectPath($project_id, 'badges/' . $this->encodePath($badge_id)), $params);
914914
}
915915

916916

0 commit comments

Comments
 (0)