From d298ba4445ae46785c5bffeb97fcc7f082bc9806 Mon Sep 17 00:00:00 2001 From: Oriol Lopez-Doriga Date: Wed, 10 Jul 2024 11:41:14 +0200 Subject: [PATCH] fixing dataset bug for collections response --- beacon/db/datasets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beacon/db/datasets.py b/beacon/db/datasets.py index 87f79955..ad7ca21f 100644 --- a/beacon/db/datasets.py +++ b/beacon/db/datasets.py @@ -262,7 +262,7 @@ def get_analyses_of_dataset(entry_id: Optional[str], qparams: RequestParams, dat if limit > 100 or limit == 0: limit = 100 count, dataset_count, docs = get_docs_by_response_type(include, query, datasets_dict, dataset, limit, skip, mongo_collection, idq) - return schema, count, dataset_count, docs + return schema, count, dataset_count, docs, dataset def beacon_handovers(): query = {}