migration changes

This commit is contained in:
Hayden committed 2021-01-01 16:51:55 -09:00
1 parent e5304f0589
commit e313741a25
59 files changed
+368 -22124

No files matched your search

+6 -2
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 = {