diff --git a/packages/bruno-app/src/components/Sidebar/Collections/Collection/CollectionItem/GenerateCodeItem/index.js b/packages/bruno-app/src/components/Sidebar/Collections/Collection/CollectionItem/GenerateCodeItem/index.js index 728cb7a7b..ea5939540 100644 --- a/packages/bruno-app/src/components/Sidebar/Collections/Collection/CollectionItem/GenerateCodeItem/index.js +++ b/packages/bruno-app/src/components/Sidebar/Collections/Collection/CollectionItem/GenerateCodeItem/index.js @@ -14,7 +14,7 @@ import { useSelector } from 'react-redux'; import { getAllVariables, getGlobalEnvironmentVariables } from 'utils/collections/index'; import { resolveInheritedAuth } from './utils/auth-utils'; -const TEMPLATE_VAR_PATTERN = /\{\{([^}]+)\}\}/g; +const TEMPLATE_VAR_PATTERN = /\{\{([^}]+)\}\}/; const validateURLWithVars = (url) => { const isValid = isValidUrl(url);