Skip to content

Commit bb4488d

Browse files
committed
update GIST_FORKS and GIST_COMMENT resources
1 parent 654524a commit bb4488d

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

lib/resources.rb

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1151,7 +1151,9 @@ def text_html(response, status, head = {})
11511151
{
11521152
"user" => USER,
11531153
"url" => "https://api.github.com/gists/#{SecureRandom.hex(10)}",
1154-
"created_at" => "2011-04-14T16:00:49Z"
1154+
"id" => 1,
1155+
"created_at" => "2011-04-14T16:00:49Z",
1156+
"updated_at" => "2011-04-14T16:00:49Z"
11551157
}
11561158
]
11571159
}
@@ -1188,7 +1190,8 @@ def text_html(response, status, head = {})
11881190
"url" => "https://api.github.com/gists/#{SecureRandom.hex(10)}/comments/1",
11891191
"body" => "Just commenting for the sake of commenting",
11901192
"user" => USER,
1191-
"created_at" => "2011-04-18T23:23:56Z"
1193+
"created_at" => "2011-04-18T23:23:56Z",
1194+
"updated_at" => "2011-04-18T23:23:56Z"
11921195
}
11931196

11941197
TREE = {

0 commit comments

Comments
 (0)