summaryrefslogtreecommitdiffstats
path: root/app/api/responders/resource/aggregates.py
diff options
context:
space:
mode:
Diffstat (limited to 'app/api/responders/resource/aggregates.py')
-rw-r--r--app/api/responders/resource/aggregates.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/app/api/responders/resource/aggregates.py b/app/api/responders/resource/aggregates.py
index 36fcfa4..d0b8031 100644
--- a/app/api/responders/resource/aggregates.py
+++ b/app/api/responders/resource/aggregates.py
@@ -31,10 +31,9 @@ class Aggregates(ResponderBase):
requirement=self.AGGREGATE_TYPES,
mandatory=True,
error_messages={"mandatory":
- "type must be specified: " +
- "environment/" +
- " message/" +
- "constant"})
+ "type must be specified: (" +
+ ",".join(self.AGGREGATE_TYPES) +
+ ")"})
}
self.validate_query_data(filters, filters_requirements)
query = self.build_query(filters)