Skip to content

Commit

Permalink
fix: remove legacy .activity.* endpoints
Browse files Browse the repository at this point in the history
BREAKING CHANGE: `octokit.activity.checkWatchingRepoLegacy()` removed

BREAKING CHANGE: `octokit.activity.stopWatchingRepoLegacy()` removed

BREAKING CHANGE: `octokit.activity.watchRepoLegacy()` removed
  • Loading branch information
gr2m committed Jan 26, 2020
1 parent 8e1f9c8 commit dd632ae
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions src/generated/endpoints.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,6 @@ export default {
},
url: "/user/starred/:owner/:repo"
},
checkWatchingRepoLegacy: {
method: "GET",
params: {
owner: { required: true, type: "string" },
repo: { required: true, type: "string" }
},
url: "/user/subscriptions/:owner/:repo"
},
deleteRepoSubscription: {
method: "DELETE",
params: {
Expand Down Expand Up @@ -254,29 +246,13 @@ export default {
},
url: "/user/starred/:owner/:repo"
},
stopWatchingRepoLegacy: {
method: "DELETE",
params: {
owner: { required: true, type: "string" },
repo: { required: true, type: "string" }
},
url: "/user/subscriptions/:owner/:repo"
},
unstarRepo: {
method: "DELETE",
params: {
owner: { required: true, type: "string" },
repo: { required: true, type: "string" }
},
url: "/user/starred/:owner/:repo"
},
watchRepoLegacy: {
method: "PUT",
params: {
owner: { required: true, type: "string" },
repo: { required: true, type: "string" }
},
url: "/user/subscriptions/:owner/:repo"
}
},
apps: {
Expand Down

0 comments on commit dd632ae

Please sign in to comment.