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) }