fix: add v4 to the new alert payload (#6090)

This commit is contained in:
Shaheer Kochai 2024-10-17 10:12:26 +04:30 committed by GitHub
parent a6e492880d
commit 5651d69485
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -7,6 +7,7 @@ const create = async (
): Promise<SuccessResponse<PayloadProps> | ErrorResponse> => {
const response = await axios.post('/rules', {
...props.data,
version: 'v4',
});
return {