Skip to content

Commit 050b5e9

Browse files
committed
Removed logging, updated data set search #823
1 parent f9e4487 commit 050b5e9

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

grails-app/controllers/au/org/ala/ecodata/ParatooController.groovy

-1
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,6 @@ class ParatooController {
283283

284284
if (log.isDebugEnabled()) {
285285
log.debug("ParatooController::submitCollection")
286-
log.debug(request.JSON.toString())
287286
}
288287
if (collection.hasErrors()) {
289288
error(collection.errors)

grails-app/services/au/org/ala/ecodata/ParatooService.groovy

+1-1
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ class ParatooService {
263263

264264
Map dataSet = null
265265
ParatooProject project = projects?.find {
266-
dataSet = it.dataSets?.find { it.orgMintedUUID == orgMintedUUID }
266+
dataSet = it.dataSets?.find { it.dataSetId == orgMintedUUID }
267267
dataSet
268268
}
269269
[dataSet:dataSet, project:project]

0 commit comments

Comments
 (0)