diff --git a/src/api/automation.js b/src/api/automation.js new file mode 100644 index 0000000..d72946a --- /dev/null +++ b/src/api/automation.js @@ -0,0 +1,8 @@ +import axios from "axios" + +const baseUrl = "/automation" + +export async function sendPatchPolicyReset(payload) { + const { data } = await axios.post(`${baseUrl}/patchpolicy/reset/`, payload) + return data +} \ No newline at end of file diff --git a/src/components/modals/coresettings/ResetPatchPolicy.vue b/src/components/modals/coresettings/ResetPatchPolicy.vue index 0382e0b..8f77197 100644 --- a/src/components/modals/coresettings/ResetPatchPolicy.vue +++ b/src/components/modals/coresettings/ResetPatchPolicy.vue @@ -1,6 +1,6 @@ \ No newline at end of file