pull/4228/head
filip mertens 1 year ago
parent 12a2915a45
commit 9cf2ccbe5c
  1. 5
      libs/remix-ui/workspace/src/lib/actions/workspace.ts

@ -780,7 +780,10 @@ export const createHelperScripts = async (script: string) => {
export const updateGitSubmodules = async () => {
dispatch(cloneRepositoryRequest())
await plugin.call('dGitProvider', 'updateSubmodules')
const config = plugin.registry.get('config').api
const token = config.get('settings/gist-access-token')
const repoConfig = { token }
await plugin.call('dGitProvider', 'updateSubmodules', repoConfig)
dispatch(cloneRepositorySuccess())
}

Loading…
Cancel
Save