largegittest2
bunsenstraat 3 months ago
parent 4959178117
commit a397005407
  1. 4
      apps/remix-ide/src/app/files/dgitProvider.ts

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

Loading…
Cancel
Save