diff --git a/chord_metadata_service/patients/models.py b/chord_metadata_service/patients/models.py index 4b84754db..e2f7035c9 100644 --- a/chord_metadata_service/patients/models.py +++ b/chord_metadata_service/patients/models.py @@ -35,7 +35,7 @@ def get_scope_filters() -> ModelScopeFilters: return { "project": { "filter": "phenopackets__dataset__project_id", - "prefetch_related": ("phenopackets__dataset_set",) + "prefetch_related": ("phenopackets__dataset",) }, "dataset": { "filter": "phenopackets__dataset_id",