diff --git a/src/api/models/wishlist/index.ts b/src/api/models/wishlist/index.ts index c54d586..35b5ddc 100644 --- a/src/api/models/wishlist/index.ts +++ b/src/api/models/wishlist/index.ts @@ -1,5 +1,4 @@ import { prisma } from '../../services' -import { Wishlist, WishlistItem } from '../../../types' export default { getAll: async (): Promise => { diff --git a/src/api/routes/wishlist/read.ts b/src/api/routes/wishlist/read.ts index ae330df..a2bfc88 100644 --- a/src/api/routes/wishlist/read.ts +++ b/src/api/routes/wishlist/read.ts @@ -20,7 +20,7 @@ export const getAll = { }, }, }, - handler: async (request: FastifyRequest, reply: FastifyReply) => { + handler: async () => { return await wishlist.getAll() }, } diff --git a/src/composables/useWishlistsStore.ts b/src/composables/useWishlistsStore.ts index 316fbf7..e176636 100644 --- a/src/composables/useWishlistsStore.ts +++ b/src/composables/useWishlistsStore.ts @@ -1,6 +1,6 @@ import apiService from '@/services/apiService' import { Wishlist } from '@/types' -import { reactive, ref } from 'vue' +import { reactive } from 'vue' const apiClient = apiService.getClient() const prefix = '/wishlist'