import { http } from '@/services' export const genreStore = { fetchAll: async () => await http.get('genres'), fetchOne: async (name: string) => await http.get(`genres/${name}`) }