summaryrefslogtreecommitdiff
path: root/source/options.tsx
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/options.tsx1
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');
}