Skip to content

Commit

Permalink
fix(tags): findAllByIds was prematurely removed (#831)
Browse files Browse the repository at this point in the history
  • Loading branch information
ajordens committed May 21, 2020
1 parent f48a7d0 commit 15d3f44
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,4 +107,12 @@ class EntityTagsController {
taggedEntityDAO.delete(tagId)
response.setStatus(HttpStatus.NO_CONTENT.value())
}

private Set<EntityTags> findAllByIds(Collection<String> ids) {
return ids.findResults {
try {
taggedEntityDAO.findById(it)
} catch (ignored) {}
}
}
}

0 comments on commit 15d3f44

Please sign in to comment.