Skip to content

Commit 273dd8f

Browse files
committed
fix lint
1 parent 2025103 commit 273dd8f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/events/snapshot_event.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ class SnapshotEvent < Event
44
# @param record [#organization_id, #created_at]
55
# @return [SnapshotEvent, nil] the intervening snapshot event or null if there aren't any
66
def self.intervening(record)
7-
where(organization_id: record.organization_id, event_time: record.created_at..).
8-
order('created_at desc').
9-
first
7+
where(organization_id: record.organization_id, event_time: record.created_at..)
8+
.order("created_at desc")
9+
.first
1010
end
1111

1212
# @param organization [Organization]

0 commit comments

Comments
 (0)