mirror of
https://github.com/antebudimir/feishin.git
synced 2025-12-31 10:03:33 +00:00
actually add type to query key
This commit is contained in:
parent
e1aa8d74f3
commit
f068d6e4b8
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ export const useTagList = (args: QueryHookArgs<TagQuery>) => {
|
|||
if (!server) throw new Error('Server not found');
|
||||
return api.controller.getTags({ apiClientProps: { server, signal }, query });
|
||||
},
|
||||
queryKey: queryKeys.tags.list(server?.id || ''),
|
||||
queryKey: queryKeys.tags.list(server?.id || '', query.type),
|
||||
staleTime: 1000 * 60,
|
||||
...options,
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue