From 7bc6cc0d0cd9254d1b439dcd72e689bc1357ccae Mon Sep 17 00:00:00 2001 From: Stephan Richter Date: Wed, 20 Apr 2022 10:13:19 +0200 Subject: [PATCH] bugfix --- pom.xml | 2 +- src/main/java/de/srsoftware/widerhall/web/Rest.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 14f8876..1927cec 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ org.example Widerhall - 0.0.18 + 0.0.19 diff --git a/src/main/java/de/srsoftware/widerhall/web/Rest.java b/src/main/java/de/srsoftware/widerhall/web/Rest.java index 8b3997f..739e18e 100644 --- a/src/main/java/de/srsoftware/widerhall/web/Rest.java +++ b/src/main/java/de/srsoftware/widerhall/web/Rest.java @@ -216,7 +216,7 @@ public class Rest extends HttpServlet { } private Map listDetail(MailingList list, User user) { - if (list == null) return Map.of(ERROR,t("Mailinglist {} unknown",list.email())); + if (list == null) return Map.of(ERROR,"no list email provided!"); var map = new HashMap<>(); if (list.hasState(MailingList.STATE_FORWARD_FROM)) map.put("forward_from",true); if (list.hasState(MailingList.STATE_FORWARD_ATTACHED)) map.put("forward_attached",true);