Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: octokit/oauth-authorization-url.js
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v4.0.0
Choose a base ref
...
head repository: octokit/oauth-authorization-url.js
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v4.0.1
Choose a head ref
  • 2 commits
  • 2 files changed
  • 1 contributor

Commits on Feb 26, 2020

  1. Copy the full SHA
    5f3ef0e View commit details
  2. Copy the full SHA
    583c06f View commit details
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/index.ts
  2. +1 −1 test/index.test.ts
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -33,7 +33,7 @@ function urlBuilderAuthorize(base: string, options: Result) {
allowSignup: "allow_signup",
clientId: "client_id",
login: "login",
redirectUrl: "redirect_url",
redirectUrl: "redirect_uri",
scopes: "scope",
state: "state"
};
2 changes: 1 addition & 1 deletion test/index.test.ts
Original file line number Diff line number Diff line change
@@ -56,7 +56,7 @@ test("redirectUrl option", () => {
scopes: [],
state: "4feornbt361",
url:
"https://github.com/login/oauth/authorize?allow_signup=true&client_id=1234567890abcdef1234&redirect_url=https://example.com&state=4feornbt361"
"https://github.com/login/oauth/authorize?allow_signup=true&client_id=1234567890abcdef1234&redirect_uri=https://example.com&state=4feornbt361"
});
});