From e704291729eed09ac67d46410ac996710ac045e4 Mon Sep 17 00:00:00 2001 From: chrisala Date: Fri, 20 Dec 2024 08:13:48 +1100 Subject: [PATCH] Fixed tests #1025 --- .../controllers/au/org/ala/ecodata/MetadataController.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grails-app/controllers/au/org/ala/ecodata/MetadataController.groovy b/grails-app/controllers/au/org/ala/ecodata/MetadataController.groovy index f886a7cdb..165ac5f81 100644 --- a/grails-app/controllers/au/org/ala/ecodata/MetadataController.groovy +++ b/grails-app/controllers/au/org/ala/ecodata/MetadataController.groovy @@ -108,7 +108,7 @@ class MetadataController { } else { // Legacy support - model = metadataService.getOutputDataModel(outputName) + model = metadataService.getOutputDataModelByName(outputName) if (expandList && expandList == 'true') { annotatedModel = metadataService.annotatedOutputDataModel(outputName, true) } else {