pull/5370/head
bunsenstraat 3 months ago
parent 3315c799df
commit 2a20398b08
  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