Skip to content

Commit 787c22a

Browse files
committed
Merge pull request sigmavirus24#371 from rco-ableton/pass-through-context
Context data should be passed through to data dict
2 parents 4e076f6 + fb86851 commit 787c22a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

github3/repos/repo.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -971,7 +971,7 @@ def create_status(self, sha, state, target_url=None, description=None,
971971
json = {}
972972
if sha and state:
973973
data = {'state': state, 'target_url': target_url,
974-
'description': description, 'context': None}
974+
'description': description, 'context': context}
975975
url = self._build_url('statuses', sha, base_url=self._api)
976976
self._remove_none(data)
977977
json = self._json(self._post(url, data=data), 201)

0 commit comments

Comments
 (0)