mirror of
https://github.com/jpros/tacticalrmm-web.git
synced 2026-03-01 07:41:00 +00:00
implement test script in script edit
This commit is contained in:
@@ -8,3 +8,10 @@ export async function fetchScripts(params = {}) {
|
||||
return data
|
||||
} catch (e) { }
|
||||
}
|
||||
|
||||
export async function testScript(payload) {
|
||||
try {
|
||||
const { data } = await axios.post(`${baseUrl}/testscript/`, payload)
|
||||
return data
|
||||
} catch (e) { }
|
||||
}
|
||||
Reference in New Issue
Block a user