Skip to content

Commit 3bc0f75

Browse files
committed
no longer an encoded JSON string
1 parent f2e5864 commit 3bc0f75

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/resources.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1567,7 +1567,7 @@ def text_html(response, status, head = {})
15671567
"sha" => "a84d88e7554fc1fa21bcbc4efae3c782a70d2b9d",
15681568
"url" => "https://api.github.com/repos/octocat/example/deployments/1",
15691569
"creator" => USER,
1570-
"payload" => JSON.dump({:environment => 'production'}),
1570+
"payload" => {:environment => 'production'},
15711571
"created_at" => "2012-07-20T01:19:13Z",
15721572
"updated_at" => "2012-07-20T01:19:13Z",
15731573
"description" => "Deploy request from hubot",
@@ -1579,7 +1579,7 @@ def text_html(response, status, head = {})
15791579
"url" => "https://api.github.com/repos/octocat/example/deployments/1/statuses/42",
15801580
"state" => "success",
15811581
"creator" => USER,
1582-
"payload" => JSON.dump({:environment => 'production'}),
1582+
"payload" => {:environment => 'production'},
15831583
"target_url" => "https://gist.github.com/628b2736d379f",
15841584
"created_at" => "2012-07-20T01:19:13Z",
15851585
"updated_at" => "2012-07-20T01:19:13Z",

0 commit comments

Comments
 (0)