Skip to content

Commit

Permalink
fix: remove members_allowed_repository_creation_type from response …
Browse files Browse the repository at this point in the history
…as it requires the `members_allowed_repository_creation_type` preview header (#257)
  • Loading branch information
octokitbot authored and gr2m committed Sep 28, 2019
1 parent 7106cf3 commit eeccf1b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
"default_repository_permission": "read",
"members_can_create_repositories": true,
"two_factor_requirement_enabled": false,
"members_allowed_repository_creation_type": "all",
"plan": {
"name": "team",
"space": 976562499,
Expand All @@ -57,7 +56,7 @@
"access-control-expose-headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type",
"cache-control": "private, max-age=60, s-maxage=60",
"connection": "close",
"content-length": "1365",
"content-length": "1316",
"content-security-policy": "default-src 'none'",
"content-type": "application/json; charset=utf-8",
"date": "Tue, 10 Oct 2017 16:00:00 GMT",
Expand Down
11 changes: 5 additions & 6 deletions scenarios/api.github.com/get-organization/raw-fixture.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
"default_repository_permission": "read",
"members_can_create_repositories": true,
"two_factor_requirement_enabled": false,
"members_allowed_repository_creation_type": "all",
"plan": {
"name": "team",
"space": 976562499,
Expand All @@ -51,11 +50,11 @@
"Server",
"GitHub.com",
"Date",
"Fri, 20 Sep 2019 09:48:17 GMT",
"Sat, 28 Sep 2019 09:51:04 GMT",
"Content-Type",
"application/json; charset=utf-8",
"Content-Length",
"1389",
"1340",
"Connection",
"close",
"Status",
Expand All @@ -65,13 +64,13 @@
"X-RateLimit-Remaining",
"4962",
"X-RateLimit-Reset",
"1568976426",
"1569667792",
"Cache-Control",
"private, max-age=60, s-maxage=60",
"Vary",
"Accept, Authorization, Cookie, X-GitHub-OTP",
"ETag",
"\"31c3c64026ea3686a28469806d8e6010\"",
"\"bea30300717dfad5cc9c4466c381ad6b\"",
"Last-Modified",
"Fri, 13 Sep 2019 15:18:21 GMT",
"X-OAuth-Scopes",
Expand All @@ -97,7 +96,7 @@
"Content-Security-Policy",
"default-src 'none'",
"X-GitHub-Request-Id",
"E396:5912:3767D7:8E103D:5D84A061"
"C316:5098:41547F:865338:5D8F2D08"
],
"reqheaders": {
"accept": "application/vnd.github.v3+json,application/vnd.github.speedy-preview+json",
Expand Down

0 comments on commit eeccf1b

Please sign in to comment.