From 2fb4cef33ca72e1045ecbe4637c288805d20ae14 Mon Sep 17 00:00:00 2001 From: wangruidong <940853815@qq.com> Date: Fri, 22 Nov 2024 14:46:11 +0800 Subject: [PATCH] perf: Update variable form API endpoint URL --- .../send-command-with-variable-dialog.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/elements/content/send-command-with-variable-dialog/send-command-with-variable-dialog.component.ts b/src/app/elements/content/send-command-with-variable-dialog/send-command-with-variable-dialog.component.ts index 91754a55..bc55f8da 100644 --- a/src/app/elements/content/send-command-with-variable-dialog/send-command-with-variable-dialog.component.ts +++ b/src/app/elements/content/send-command-with-variable-dialog/send-command-with-variable-dialog.component.ts @@ -19,7 +19,7 @@ export class ElementSendCommandWithVariableDialogComponent implements OnInit { } async getVariableFormMeta() { const adhoc = this.data.command.id - const url=`/api/v1/ops/variable/form_data/?t=${new Date().getTime()}&adhoc=${adhoc}` + const url=`/api/v1/ops/variables/form-data/?t=${new Date().getTime()}&adhoc=${adhoc}` const res: any = await this._http.options(url).toPromise(); this.formConfig = res.actions.GET; this.command = this.data.command;