diff --git a/src/core_api.cpp b/src/core_api.cpp index c6d59d26..43998b22 100644 --- a/src/core_api.cpp +++ b/src/core_api.cpp @@ -263,7 +263,7 @@ bool get_collections(const std::shared_ptr& req, const std::shared_ptr AuthManager &auth_manager = collectionManager.getAuthManager(); auto api_key_collections = auth_manager.get_api_key_collections(req->api_auth_key); - auto collections_summaries_op = collectionManager.get_collection_summaries(limit, offset, + auto collections_summaries_op = collectionManager.get_collection_summaries(limit, offset, exclude_fields, api_key_collections); if(!collections_summaries_op.ok()) { res->set(collections_summaries_op.code(), collections_summaries_op.error());