import { get, post } from '../request' const prefix = 'favorite/' export const getFavoriteListApi = async () => { return await get(`${prefix}list`) } export const toggleFavoriteApi = async (catalogueId) => { return await post(`${prefix}toggle`, { catalogue_id: catalogueId }) }