File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -507,7 +507,7 @@ export function firestoreClientRunAggregationQuery(
507
507
client : FirestoreClient ,
508
508
query : AggregateQuery
509
509
) : Promise < AggregateQuerySnapshot > {
510
- return client . asyncQueue . enqueue ( async ( ) => {
510
+ return client . asyncQueue . enqueue ( ( ) => {
511
511
return getAggregate ( query ) ;
512
512
} ) ;
513
513
}
Original file line number Diff line number Diff line change @@ -247,8 +247,10 @@ export async function invokeRunAggregationQueryRpc(
247
247
queryToTarget ( aggregateQuery . query . _query )
248
248
) ;
249
249
250
- //while invoking streaming RPC, grpc_connection requires parent in the request
251
- //while rest_connection excludes it
250
+ /**
251
+ * Include the parent in the request for grpc_connection.
252
+ * Exclude the parent from request for rest_connection.
253
+ */
252
254
const parent = request . parent ;
253
255
if ( ! datastoreImpl . connection . shouldResourcePathBeIncludedInRequest ) {
254
256
delete request . parent ;
You can’t perform that action at this time.
0 commit comments