import requests from "./api/base-api";

const cafeService = {
    likeCafe: (cafeId) => requests.post("/users/user-cafe-like", { cafeId }),
    getLikedCafes: () => requests.get("/users/user-cafe-liked"),

    visitCafe: (cafeId) => requests.post("/users/user-cafe-score", { cafeId }),
    getVisitedCafes: () => requests.get("/users/user-cafe-visited"),
};

export default cafeService;