Spaces:
Running
Running
Update flare-ui/src/app/dialogs/api-edit-dialog/api-edit-dialog.component.ts
Browse files
flare-ui/src/app/dialogs/api-edit-dialog/api-edit-dialog.component.ts
CHANGED
@@ -322,7 +322,7 @@ export default class ApiEditDialogComponent implements OnInit {
|
|
322 |
try {
|
323 |
let jsonStr = control.value;
|
324 |
|
325 |
-
jsonStr = jsonStr.replace(/\{\{([^}]+)\}\}/g, (match, variablePath) => {
|
326 |
const path = variablePath.trim();
|
327 |
|
328 |
if (path.startsWith('variables.')) {
|
|
|
322 |
try {
|
323 |
let jsonStr = control.value;
|
324 |
|
325 |
+
jsonStr = jsonStr.replace(/\{\{([^}]+)\}\}/g, (match: string, variablePath: string) => {
|
326 |
const path = variablePath.trim();
|
327 |
|
328 |
if (path.startsWith('variables.')) {
|