diff --git a/pom.xml b/pom.xml index 1927cec..ac54f28 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ org.example Widerhall - 0.0.19 + 0.0.20 diff --git a/src/main/java/de/srsoftware/widerhall/web/Rest.java b/src/main/java/de/srsoftware/widerhall/web/Rest.java index 739e18e..1785ef2 100644 --- a/src/main/java/de/srsoftware/widerhall/web/Rest.java +++ b/src/main/java/de/srsoftware/widerhall/web/Rest.java @@ -234,7 +234,7 @@ public class Rest extends HttpServlet { return Map.of(MEMBERS,members); } catch (SQLException e) { LOG.error("Failed to load member list: ",e); - return Map.of("error",t("Failed to load member list '{}'",list.email())); + return Map.of(ERROR,t("Failed to load member list '{}'",list.email())); } }