all restaurant
Build and Deploy Docker Images / build_and_deploy (push) Has been cancelled

This commit is contained in:
hamid zarghami
2026-07-05 11:20:56 +03:30
parent 7ff5570c3f
commit db15454a83
7 changed files with 202 additions and 12 deletions
+7
View File
@@ -0,0 +1,7 @@
import { RestaurantsListResponse } from "@/app/types/Types";
import { api } from "@/config/axios";
export const getAllRestaurants = async (): Promise<RestaurantsListResponse> => {
const { data } = await api.get("/public/restaurants");
return data;
};