diff options
Diffstat (limited to 'src/mongo/db/auth/authz_manager_external_state_d.cpp')
-rw-r--r-- | src/mongo/db/auth/authz_manager_external_state_d.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/auth/authz_manager_external_state_d.cpp b/src/mongo/db/auth/authz_manager_external_state_d.cpp index 66f8e74215d..e8dc4cdda7a 100644 --- a/src/mongo/db/auth/authz_manager_external_state_d.cpp +++ b/src/mongo/db/auth/authz_manager_external_state_d.cpp @@ -60,12 +60,12 @@ AuthzManagerExternalStateMongod::makeAuthzSessionExternalState(AuthorizationMana Status AuthzManagerExternalStateMongod::query( OperationContext* opCtx, const NamespaceString& collectionName, - const BSONObj& query, + const BSONObj& filter, const BSONObj& projection, const std::function<void(const BSONObj&)>& resultProcessor) { try { DBDirectClient client(opCtx); - client.query(resultProcessor, collectionName, query, &projection); + client.query(resultProcessor, collectionName, filter, Query(), &projection); return Status::OK(); } catch (const DBException& e) { return e.toStatus(); |