diff --git a/packages/bruno-app/src/providers/ReduxStore/slices/global-environments.js b/packages/bruno-app/src/providers/ReduxStore/slices/global-environments.js index 10184c1e7..6462c867b 100644 --- a/packages/bruno-app/src/providers/ReduxStore/slices/global-environments.js +++ b/packages/bruno-app/src/providers/ReduxStore/slices/global-environments.js @@ -107,7 +107,7 @@ export const copyGlobalEnvironment = ({ name, environmentUid: baseEnvUid }) => ( const baseEnv = globalEnvironments?.find(env => env?.uid == baseEnvUid) const uid = uuid(); ipcRenderer - .invoke('renderer:create-global-environment', { name, variables: baseEnv.variables }) + .invoke('renderer:create-global-environment', { uid, name, variables: baseEnv.variables }) .then(() => { dispatch(_copyGlobalEnvironment({ name, uid, variables: baseEnv.variables })) })