From 5651d694854cd77964b9225af7aecb420c9c1fb8 Mon Sep 17 00:00:00 2001 From: Shaheer Kochai Date: Thu, 17 Oct 2024 10:12:26 +0430 Subject: [PATCH] fix: add v4 to the new alert payload (#6090) --- frontend/src/api/alerts/create.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/api/alerts/create.ts b/frontend/src/api/alerts/create.ts index 744183fa4b..7566724ab2 100644 --- a/frontend/src/api/alerts/create.ts +++ b/frontend/src/api/alerts/create.ts @@ -7,6 +7,7 @@ const create = async ( ): Promise | ErrorResponse> => { const response = await axios.post('/rules', { ...props.data, + version: 'v4', }); return {