run script rework start

This commit is contained in:
sadnub
2021-07-07 19:28:09 -04:00
parent f3ad5acf1c
commit 0532003c5d
7 changed files with 275 additions and 165 deletions

10
src/api/scripts.js Normal file
View File

@@ -0,0 +1,10 @@
import axios from "axios"
const baseUrl = "/scripts"
export async function fetchScripts(params = {}) {
try {
const { data } = await axios.get(`${baseUrl}/scripts/`, { params: params })
return data
} catch (e) { }
}