From 0013c90ef1727ffe6d76a475a657715a4413d169 Mon Sep 17 00:00:00 2001 From: temi Date: Fri, 13 Dec 2024 09:35:58 +1100 Subject: [PATCH] fixes a bug with document list page --- .../controllers/au/org/ala/biocollect/DocumentController.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grails-app/controllers/au/org/ala/biocollect/DocumentController.groovy b/grails-app/controllers/au/org/ala/biocollect/DocumentController.groovy index 5042c259b..5a09bcab3 100644 --- a/grails-app/controllers/au/org/ala/biocollect/DocumentController.groovy +++ b/grails-app/controllers/au/org/ala/biocollect/DocumentController.groovy @@ -21,7 +21,7 @@ class DocumentController { WebService webService GrailsApplication grailsApplication - def get(String id) { + def get(String documentId) { if (!documentId) { render text: [message: "Document not found"] as JSON, status: HttpStatus.SC_NOT_FOUND return