Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9fd0ec0

Browse files
committed
show the issue object in the issue events resource
1 parent47fe6ec commit9fd0ec0

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

‎content/v3/issues/events.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ assigned
6262
###Response
6363

6464
<%= headers 200,:pagination => true %>
65-
<%= json(:issue_event) { |h|[h] } %>
65+
<%= json(:full_issue_event) { |h|[h] } %>
6666

6767
##Get a single event
6868

@@ -71,5 +71,5 @@ assigned
7171
###Response
7272

7373
<%= headers 200 %>
74-
<%= json:issue_event %>
74+
<%= json:full_issue_event %>
7575

‎lib/resources.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -427,6 +427,8 @@ def json(key)
427427
"created_at"=>"2011-04-14T16:00:49Z"
428428
}
429429

430+
FULL_ISSUE_EVENT=ISSUE_EVENT.merge('issue'=>ISSUE)
431+
430432
GIST_HISTORY={
431433
"history"=>[
432434
{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp