mirror of
https://github.com/jpros/tacticalrmm-web.git
synced 2026-03-01 07:41:00 +00:00
rework patch reset policy modal to comp api and take into account permissions
This commit is contained in:
8
src/api/automation.js
Normal file
8
src/api/automation.js
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user