fix broken upload button on migrations

This commit is contained in:
hay-kot
2021-04-18 17:43:32 -08:00
parent f48f55b6dc
commit fbf4282063
4 changed files with 6 additions and 1 deletions

View File

@@ -3,6 +3,8 @@ import { apiReq } from "./api-utils";
export const utilsAPI = {
// import { api } from "@/api";
async uploadFile(url, fileObject) {
console.log("API Called");
let response = await apiReq.post(url, fileObject, {
headers: {
"Content-Type": "multipart/form-data",