From 0efc3b8a87b33542aa5b9196ba8092a76a3de44e Mon Sep 17 00:00:00 2001 From: Benny Samir Hierl Date: Sat, 29 Jan 2022 11:22:40 +0100 Subject: [PATCH] fix linter issues Signed-off-by: Benny Samir Hierl --- src/api/models/wishlist/index.ts | 1 - src/api/routes/wishlist/read.ts | 2 +- src/composables/useWishlistsStore.ts | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) 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'