Skip to content

Commit

Permalink
Fixes #1577
Browse files Browse the repository at this point in the history
  • Loading branch information
jack-brinkman committed Nov 28, 2023
1 parent e63afc1 commit 4c5eea6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,9 @@ class ActivityService {
webService.doDelete(grailsApplication.config.ecodata.service.url + '/activity/' + id)
}

def bulkDelete(List ids, boolean destory) {
def bulkDelete(List ids, boolean destroy = false) {
String url = grailsApplication.config.ecodata.service.url + '/activityBulkDelete'
if(destory)
if(destroy)
url += '?destroy=true'
webService.doPost(url, [ids: ids])
}
Expand Down

0 comments on commit 4c5eea6

Please sign in to comment.