summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/dashing.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/dashing.rb b/lib/dashing.rb
index ee7cd1f..beb7eca 100644
--- a/lib/dashing.rb
+++ b/lib/dashing.rb
@@ -81,6 +81,7 @@ end
def send_event(id, body)
body["id"] = id
+ body["updatedAt"] = Time.now
event = format_event(JSON.unparse(body))
settings.history[id] = event
settings.connections.each { |out| out << event }