From 71df80c8c1b0dacecc519ebac4ccd3dd65951e28 Mon Sep 17 00:00:00 2001 From: Johan Berggren Date: Tue, 29 Aug 2023 13:05:48 +0000 Subject: [PATCH] fix tests --- timesketch/api/v1/resources/event.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/timesketch/api/v1/resources/event.py b/timesketch/api/v1/resources/event.py index 79481fffc9..0e0c280165 100644 --- a/timesketch/api/v1/resources/event.py +++ b/timesketch/api/v1/resources/event.py @@ -338,7 +338,7 @@ def get(self, sketch_id): class EventAddAttributeResource(resources.ResourceMixin, Resource): """Resource to add attributes to events.""" - EVENT_FIELDS = ["_id", "_type", "_index", "attributes"] + EVENT_FIELDS = ["_id", "_index", "attributes"] ATTRIBUTE_FIELDS = ["attr_name", "attr_value"] RESERVED_ATTRIBUTE_NAMES = [ "datetime",