File tree 1 file changed +4
-4
lines changed
grails-app/controllers/au/org/ala/logger
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -118,8 +118,8 @@ class LoggerController {
118
118
* @return breakdown of log events by reason in JSON format
119
119
*/
120
120
def getReasonBreakdown () {
121
- if (! params. eventId || ! params . entityUid ) {
122
- handleError(HttpStatus . BAD_REQUEST , " Request is missing entityUid and/or eventId" )
121
+ if (! params. eventId) {
122
+ handleError(HttpStatus . BAD_REQUEST , " Request is missing eventId" )
123
123
} else {
124
124
use(TimeCategory ) {
125
125
Date nextMonth = nextMonth()
@@ -371,8 +371,8 @@ class LoggerController {
371
371
* @return breakdown of log events by reason in JSON format
372
372
*/
373
373
def getEmailBreakdown () {
374
- if (! params. eventId || ! params . entityUid ) {
375
- handleError(HttpStatus . BAD_REQUEST , " Request is missing entityUid and/or eventId" )
374
+ if (! params. eventId) {
375
+ handleError(HttpStatus . BAD_REQUEST , " Request is missing eventId" )
376
376
} else {
377
377
use(TimeCategory ) {
378
378
Date nextMonth = nextMonth()
You can’t perform that action at this time.
0 commit comments