Commit 88e32ca8 authored by Martin Lowe's avatar Martin Lowe 🇨🇦 Committed by Martin Lowe
Browse files

Fix missing call in getBots call

Signed-off-by: Martin Lowe's avatarMartin Lowe <>
parent ef43281e
......@@ -415,7 +415,7 @@ public class ValidationResource {
private List<BotUser> getBots() {
Optional<List<BotUser>> allBots =
cache.get("allBots", () -> bots.getBots(), (Class<List<BotUser>>) (Object) List.class);
if (allBots.isEmpty()) {
if (!allBots.isPresent()) {
return Collections.emptyList();
return allBots.get();
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment