ok banget
This commit is contained in:
@@ -392,7 +392,7 @@ export const getFavourite = async (cafeId) => {
|
||||
|
||||
export const getReports = async (cafeId, filter) => {
|
||||
const response = await fetch(
|
||||
API_BASE_URL + "/transaction/reports/" + cafeId + "?type=" + filter,
|
||||
API_BASE_URL + "/transaction/get-reports/" + cafeId + "?type=" + filter,
|
||||
{
|
||||
method: "POST",
|
||||
headers: {
|
||||
|
||||
@@ -171,7 +171,7 @@ export const updateUser = async (formData) => {
|
||||
};
|
||||
|
||||
//for super
|
||||
export const getAllCafeOwner = async (formData) => {
|
||||
export const getAnalytics = async (formData) => {
|
||||
const token = getLocalStorage("auth");
|
||||
if (token) {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user