Skip to content

Commit 8e2d012

Browse files
committed
fixup payload formats to reflect reality
1 parent b9c6043 commit 8e2d012

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/resources.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1516,13 +1516,14 @@ def text_html(response, status, head = {})
15161516

15171517
DEPLOYMENT = {
15181518
"id" => 1,
1519-
"ref" => "topic-branch",
1519+
"sha" => "topic-branch",
15201520
"url" => "https://api.github.com/repos/octocat/example/deployments/1",
15211521
"creator" => USER,
15221522
"payload" => JSON.dump({:environment => 'production'}),
15231523
"created_at" => "2012-07-20T01:19:13Z",
15241524
"updated_at" => "2012-07-20T01:19:13Z",
15251525
"description" => "Deploy request from hubot",
1526+
"statuses_url" => "https://api.github.com/repos/octocat/example/deployments/1/statuses"
15261527
}
15271528

15281529
DEPLOYMENT_STATUS = {

0 commit comments

Comments
 (0)