Skip to content

Commit

Permalink
fix: correct path prefix for user migration endpoints (#137)
Browse files Browse the repository at this point in the history
  • Loading branch information
octokitbot committed Jul 22, 2020
1 parent 401cb64 commit 382bf9d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion scripts/update-endpoints/generated/endpoints.json
Original file line number Diff line number Diff line change
Expand Up @@ -15459,7 +15459,7 @@
"scope": "migrations",
"id": "listReposForUser",
"method": "GET",
"url": "/user/{migration_id}/repositories",
"url": "/user/migrations/{migration_id}/repositories",
"documentationUrl": "https://developer.github.com/v3/migrations/users/#list-repositories-for-a-user-migration",
"parameters": [
{
Expand Down
18 changes: 9 additions & 9 deletions src/generated/Endpoints.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3107,14 +3107,6 @@ export interface Endpoints {
request: UsersGetAuthenticatedRequestOptions;
response: OctokitResponse<UsersGetAuthenticatedResponseData>;
};
/**
* @see https://developer.github.com/v3/migrations/users/#list-repositories-for-a-user-migration
*/
"GET /user/:migration_id/repositories": {
parameters: MigrationsListReposForUserEndpoint;
request: MigrationsListReposForUserRequestOptions;
response: OctokitResponse<MigrationsListReposForUserResponseData>;
};
/**
* @see https://developer.github.com/v3/users/blocking/#list-users-blocked-by-the-authenticated-user
*/
Expand Down Expand Up @@ -3293,6 +3285,14 @@ export interface Endpoints {
request: MigrationsGetArchiveForAuthenticatedUserRequestOptions;
response: OctokitResponse<any>;
};
/**
* @see https://developer.github.com/v3/migrations/users/#list-repositories-for-a-user-migration
*/
"GET /user/migrations/:migration_id/repositories": {
parameters: MigrationsListReposForUserEndpoint;
request: MigrationsListReposForUserRequestOptions;
response: OctokitResponse<MigrationsListReposForUserResponseData>;
};
/**
* @see https://developer.github.com/v3/orgs/#list-organizations-for-the-authenticated-user
*/
Expand Down Expand Up @@ -17743,7 +17743,7 @@ type MigrationsListReposForUserEndpoint = {

type MigrationsListReposForUserRequestOptions = {
method: "GET";
url: "/user/:migration_id/repositories";
url: "/user/migrations/:migration_id/repositories";
headers: RequestHeaders;
request: RequestRequestOptions;
};
Expand Down

0 comments on commit 382bf9d

Please sign in to comment.