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.
1 parent c841167 commit 5574de7Copy full SHA for 5574de7
src/lib/api/github-api-client.ts
@@ -115,8 +115,8 @@ class GitHubAPIClient {
115
)
116
}
117
118
- if (trimmedToken.length < 20) {
119
- throw new Error('GitHub token is too short. Minimum length is 20 characters.')
+ if (trimmedToken.length < 40) {
+ throw new Error('GitHub token is too short. Minimum length is 40 characters.')
120
121
122
if (trimmedToken.length > 255) {
0 commit comments