We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
url
1 parent 9c90e1b commit 499fc7dCopy full SHA for 499fc7d
src/index.ts
@@ -62,7 +62,7 @@ function urlBuilderAuthorize(
62
if (k !== "scopes") return true;
63
if (options.clientType === "github-app") return false;
64
65
- return !Array.isArray(options[k]) || (options[k] as string[]).length > 1;
+ return !Array.isArray(options[k]) || (options[k] as string[]).length > 0;
66
})
67
68
// Map Array with the proper URL parameter names and change the value to a string using template strings
0 commit comments