add missing api call to rest.js
This commit is contained in:
parent
3945e97319
commit
f9aee04dd5
|
|
@ -433,6 +433,14 @@ export const addJamtrackToShoppingCart = (options = {}) => {
|
|||
});
|
||||
};
|
||||
|
||||
export const getAppFeatures = (env) => {
|
||||
return new Promise((resolve, reject) => {
|
||||
apiFetch(`/app_features?env=${env}`)
|
||||
.then(response => resolve(response))
|
||||
.catch(error => reject(error));
|
||||
});
|
||||
}
|
||||
|
||||
export const getShoppingCart = () => {
|
||||
return new Promise((resolve, reject) => {
|
||||
apiFetch(`/shopping_carts`)
|
||||
|
|
|
|||
Loading…
Reference in New Issue