From 6f74241100d34da4ac0f5923ac11dd87189ed817 Mon Sep 17 00:00:00 2001 From: songjianet <1778651752@qq.com> Date: Thu, 27 Jan 2022 10:29:53 +0800 Subject: [PATCH] [Fix][UI Next] Fix alert plugin api. (#8211) --- .../src/service/modules/alert-plugin/index.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/dolphinscheduler-ui-next/src/service/modules/alert-plugin/index.ts b/dolphinscheduler-ui-next/src/service/modules/alert-plugin/index.ts index c6f5f30d9a..7081438a18 100644 --- a/dolphinscheduler-ui-next/src/service/modules/alert-plugin/index.ts +++ b/dolphinscheduler-ui-next/src/service/modules/alert-plugin/index.ts @@ -48,6 +48,13 @@ export function verifyAlertInstanceName(params: InstanceNameReq): any { }) } +export function queryAlertPluginInstanceList(): any { + return axios({ + url: '/alert-plugin-instances/list', + method: 'get' + }) +} + export function getAlertPluginInstance(id: IdReq): any { return axios({ url: `/alert-plugin-instances/${id}`,