We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d481d77 + 164796d commit bde3cbeCopy full SHA for bde3cbe
content/v3/repos/forks.md
@@ -19,7 +19,7 @@ sort
19
### Response
20
21
<%= headers 200 %>
22
-<%= json(:repo) { |h| [h] } %>
+<%= json(:repo) { |h| h['fork'] = true; [h] } %>
23
24
## Create a fork
25
@@ -43,4 +43,4 @@ a short period before accessing the git objects. If this takes longer than
43
5 minutes, be sure to [contact Support](https://github.com/contact?form[subject]=APIv3).
44
45
<%= headers 202 %>
46
-<%= json :repo %>
+<%= json(:repo) { |h| h['fork'] = true; h } %>
0 commit comments