From 4a9e959c06ee8eadd3c29fe22a04703ec3be033a Mon Sep 17 00:00:00 2001 From: Guillaume Chau Date: Sat, 17 Oct 2020 18:32:11 +0200 Subject: [PATCH] fix: resolveClient use id arg --- packages/vue-apollo-composable/src/useApolloClient.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/vue-apollo-composable/src/useApolloClient.ts b/packages/vue-apollo-composable/src/useApolloClient.ts index 617e7c1..13edeeb 100644 --- a/packages/vue-apollo-composable/src/useApolloClient.ts +++ b/packages/vue-apollo-composable/src/useApolloClient.ts @@ -48,7 +48,7 @@ export function useApolloClient(clientId?: ClientId): UseApol if (currentApolloClient) { return currentApolloClient } else if (id) { - return resolveClientWithId(providedApolloClients, clientId) + return resolveClientWithId(providedApolloClients, id) } return resolveDefaultClient(providedApolloClients, providedApolloClient) }