diff options
Diffstat (limited to 'src/mongo/db/pipeline/aggregation_request_helper.cpp')
-rw-r--r-- | src/mongo/db/pipeline/aggregation_request_helper.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/db/pipeline/aggregation_request_helper.cpp b/src/mongo/db/pipeline/aggregation_request_helper.cpp index ae494215682..1af17053607 100644 --- a/src/mongo/db/pipeline/aggregation_request_helper.cpp +++ b/src/mongo/db/pipeline/aggregation_request_helper.cpp @@ -107,10 +107,10 @@ AggregateCommandRequest parseFromBSON(OperationContext* opCtx, cmdObjChanged = true; } - // TODO SERVER-68721: pass in tenantId from nss to IDLParserContext AggregateCommandRequest request(nss); - request = AggregateCommandRequest::parse(IDLParserContext("aggregate", apiStrict), - cmdObjChanged ? cmdObjBob.obj() : cmdObj); + request = + AggregateCommandRequest::parse(IDLParserContext("aggregate", apiStrict, nss.tenantId()), + cmdObjChanged ? cmdObjBob.obj() : cmdObj); if (explainVerbosity) { uassert(ErrorCodes::FailedToParse, |