Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
berggren committed Aug 29, 2023
1 parent db64663 commit 71df80c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion timesketch/api/v1/resources/event.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 71df80c

Please sign in to comment.