Skip to content

Commit ae02734

Browse files
author
Morgan Hallgren
committed
reset to data instead of eventType on nil check and let PR arkency#21 fix this
1 parent 79022ca commit ae02734

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/http_event_store/helpers/parse_entries.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def call(entries)
1313
private
1414

1515
def create_event(entry)
16-
return nil unless entry['eventType']
16+
return nil unless entry['data']
1717

1818
id = entry['eventNumber']
1919
event_id = entry['eventId']

0 commit comments

Comments
 (0)