migration changes

This commit is contained in:
Hayden 2021-01-01 16:51:55 -09:00
parent e5304f0589
commit e313741a25
59 changed files with 368 additions and 22124 deletions

View file

@ -2,13 +2,17 @@ const baseURL = "/api/";
import axios from "axios";
import store from "../store/store";
// look for data.snackbar in response
function processResponse(response) {
if (("data" in response) & ("snackbar" in response.data)) {
try {
store.commit("setSnackBar", {
text: response.data.snackbar.text,
type: response.data.snackbar.type,
});
} else return;
} catch (err) {
return;
}
return;
}
const apiReq = {