fix create job state

This commit is contained in:
heliclei 2014-01-09 10:56:33 +08:00
parent 6cbf69306c
commit 2b7aa26308
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ r = requests.get(api_get_pr)
pr = r.json()
#forge a payload
payload = {"action":"open","number":"","pull_request":""}
payload = {"action":"opened","number":"","pull_request":""}
payload['number']=pr_num
payload['pull_request']=pr