diff options
author | 2021-04-08 22:10:15 -0400 | |
---|---|---|
committer | 2021-04-08 22:10:15 -0400 | |
commit | 4ff98524e61389fb7628e5816bfcdaac4e0f0cc6 (patch) | |
tree | dacd4f21ea7286723530350d38cfe27bb846a568 /source/options.tsx | |
parent | 8eaad7215a10ab2ffc18bcbf3759a83eb01a49aa (diff) | |
download | refined-github-4ff98524e61389fb7628e5816bfcdaac4e0f0cc6.tar.gz refined-github-4ff98524e61389fb7628e5816bfcdaac4e0f0cc6.tar.zst refined-github-4ff98524e61389fb7628e5816bfcdaac4e0f0cc6.zip |
Lint (#4207)
Diffstat (limited to '')
-rw-r--r-- | source/options.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/options.tsx b/source/options.tsx index 27414276..cb14365d 100644 --- a/source/options.tsx +++ b/source/options.tsx @@ -58,6 +58,7 @@ async function getTokenScopes(personalToken: string): Promise<string[]> { } const scopes = response.headers.get('X-OAuth-Scopes')!.split(', '); + scopes.push('valid_token'); if (scopes.includes('repo')) { scopes.push('public_repo'); } |