diff --git a/apps/avatax/bruno/collection.bru b/apps/avatax/bruno/collection.bru deleted file mode 100644 index 7c897c354..000000000 --- a/apps/avatax/bruno/collection.bru +++ /dev/null @@ -1,19 +0,0 @@ -script:pre-request { - // Remove after https://github.com/usebruno/bruno/issues/2960 in done - function resolveTemplateVariables(string) { - const VARIABLE_NAME_REGEX = /{{([A-Za-z_]\w+)}}/g; - - return string.replace( - VARIABLE_NAME_REGEX, - (_, key) => bru.getVar(key) || bru.getEnvVar(key) - ); - } - - const body = req.getBody(); - - if (!body.variables) { - return; - } - - body.variables = resolveTemplateVariables(body.variables); -}