Skip to content

Commit 212d229

Browse files
committed
Fix missing X-Weaviate-Cluster-Url header in gRPC aggregations
1 parent d15dc68 commit 212d229

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/connection/grpc.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ export const grpcClient = (config: GrpcConnectionParams & { grpcMaxMessageLength
193193
Aggregator.use(
194194
client,
195195
collection,
196-
new Metadata(bearerToken ? { ...config.headers, authorization: bearerToken } : config.headers),
196+
getMetadataWithEmbeddingServiceAuth(config, bearerToken),
197197
config.timeout?.query || 30,
198198
consistencyLevel,
199199
tenant

0 commit comments

Comments
 (0)