From fd60f2d1717f6593931ebfd6b429c79d0e5b5852 Mon Sep 17 00:00:00 2001 From: Amaury Danis Cousandier Date: Fri, 12 Jan 2024 17:56:42 +0100 Subject: [PATCH] artist and genre keys to refetch without changing the query --- front/API.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/front/API.ts b/front/API.ts index 5216e07..bb4dc41 100644 --- a/front/API.ts +++ b/front/API.ts @@ -711,7 +711,7 @@ export default class API { const queryString = queryParams.length > 0 ? `?${queryParams.join('&')}` : ''; return { - key: ['search', query.query], + key: ['search', query.query, query.artist, query.genre], exec: () => { return API.fetch( {