diff --git a/core/lib/rules.py b/core/lib/rules.py index 0c81a6f..6fb9309 100644 --- a/core/lib/rules.py +++ b/core/lib/rules.py @@ -401,7 +401,7 @@ class NotificationRuleData(object): else: # Get the default value for the user if not present index = parse_index(self.user, {}, raise_error=True) - self.parsed["index"] = index + self.parsed["index"] = [index] if "source" in self.parsed: source = self.parsed["source"] @@ -413,7 +413,7 @@ class NotificationRuleData(object): else: # Get the default value for the user if not present source = parse_source(self.user, {}, raise_error=True) - self.parsed["source"] = source + self.parsed["source"] = [source] def parse_data(self): """