Add 'sge-frontend/' from commit '5fa787e054b25ac53edc7ff0275ea7960a709401'

git-subtree-dir: sge-frontend
git-subtree-mainline: 876c278ac4
git-subtree-split: 5fa787e054
This commit is contained in:
2025-08-04 00:27:23 +03:00
337 changed files with 854877 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
import ApplicationService from "../../../services/ApplicationService";
export const excelUpload = () => {
return async (dispatch) => {
ApplicationService.http()
.post(
"/graphql",
{
query: ``,
},
{
headers: {
Authorization: "Bearer " + localStorage.getItem("accessToken"),
},
}
)
.then((response) => {
const excelUpload = response.data.data.excelUpload;
dispatch({
type: "EXCEL_UPLOAD",
payload: {
excelUpload,
},
});
});
};
};