Skip to content

Commit 4b39942

Browse files
committed
Merge pull request #22 from richardfullmer/status-create-fix
Fix an issue with being able to update statuses
2 parents 7cae754 + 33d02e9 commit 4b39942

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Github/Api/Repository/Statuses.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,6 @@ public function create($username, $repository, $sha, array $params = array())
4343
throw new MissingArgumentException('state');
4444
}
4545

46-
return $this->post('repos/'.urlencode($username).'/'.urlencode($repository).'/statuses'.urlencode($sha), $params);
46+
return $this->post('repos/'.urlencode($username).'/'.urlencode($repository).'/statuses/'.urlencode($sha), $params);
4747
}
4848
}

0 commit comments

Comments
 (0)