merge kentors changes

This commit is contained in:
hayden
2021-01-29 18:43:07 -09:00
parent 874bea7fa4
commit 3cadc3d04b
8 changed files with 102 additions and 9 deletions

View File

@@ -0,0 +1,15 @@
import { baseURL } from "./api-utils";
import { apiReq } from "./api-utils";
const categoryBase = baseURL + "category/";
const categoryURLs = {
get_all: `${categoryBase}all`,
};
export default {
async get_all() {
let response = await apiReq.get(categoryURLs.get_all);
return response;
},
}