diff --git a/libs/remix-ui/workspace/src/lib/actions/workspace.ts b/libs/remix-ui/workspace/src/lib/actions/workspace.ts index 1bfcc59376..58ad6410cd 100644 --- a/libs/remix-ui/workspace/src/lib/actions/workspace.ts +++ b/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()) }