|
|
|
@ -1065,7 +1065,7 @@ class DGitProvider extends Plugin { |
|
|
|
|
const scopesArr = scopes.split(',').map(scope => scope.trim()) |
|
|
|
|
|
|
|
|
|
return { |
|
|
|
|
user: {...user.data, isConnected:
|
|
|
|
|
user: { ...user.data, isConnected: |
|
|
|
|
scopes |
|
|
|
|
&& scopesArr.includes('repo') |
|
|
|
|
&& scopesArr.includes('read:user') |
|
|
|
|