summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source/options.tsx4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/options.tsx b/source/options.tsx
index cd2e829c..6fe62807 100644
--- a/source/options.tsx
+++ b/source/options.tsx
@@ -72,6 +72,10 @@ async function getTokenScopes(personalToken: string): Promise<string[]> {
scopes.push('public_repo');
}
+ if (scopes.includes('project')) {
+ scopes.push('read:project');
+ }
+
return scopes;
}