bugfix
This commit is contained in:
2
pom.xml
2
pom.xml
@@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
<groupId>org.example</groupId>
|
<groupId>org.example</groupId>
|
||||||
<artifactId>Widerhall</artifactId>
|
<artifactId>Widerhall</artifactId>
|
||||||
<version>0.0.18</version>
|
<version>0.0.19</version>
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<plugin>
|
||||||
|
|||||||
@@ -216,7 +216,7 @@ public class Rest extends HttpServlet {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private Map listDetail(MailingList list, User user) {
|
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<>();
|
var map = new HashMap<>();
|
||||||
if (list.hasState(MailingList.STATE_FORWARD_FROM)) map.put("forward_from",true);
|
if (list.hasState(MailingList.STATE_FORWARD_FROM)) map.put("forward_from",true);
|
||||||
if (list.hasState(MailingList.STATE_FORWARD_ATTACHED)) map.put("forward_attached",true);
|
if (list.hasState(MailingList.STATE_FORWARD_ATTACHED)) map.put("forward_attached",true);
|
||||||
|
|||||||
Reference in New Issue
Block a user