From 593b35b21f260eb7d3e241491e2442db367b7422 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?nicole=20miko=C5=82ajczyk?= Date: Thu, 23 Oct 2025 15:37:53 +0200 Subject: [PATCH] pl-hooks: actually fix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: nicole mikołajczyk --- .../pl-hooks/lib/hooks/accounts/use-account-relationship.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/pl-hooks/lib/hooks/accounts/use-account-relationship.ts b/packages/pl-hooks/lib/hooks/accounts/use-account-relationship.ts index 7c7501eff..f4c3c82b4 100644 --- a/packages/pl-hooks/lib/hooks/accounts/use-account-relationship.ts +++ b/packages/pl-hooks/lib/hooks/accounts/use-account-relationship.ts @@ -8,7 +8,7 @@ const useAccountRelationship = (accountId?: string) => { const queryClient = usePlHooksQueryClient(); return useQuery({ - queryKey: ['accounts', 'relationships', accountId], + queryKey: ['relationships', 'entities', accountId], queryFn: async () => (await client.accounts.getRelationships([accountId!]))[0], enabled: !!accountId, }, queryClient);