diff options
author | Robin Houston <robin.houston@gmail.com> | 2012-07-05 12:06:02 +0100 |
---|---|---|
committer | Robin Houston <robin.houston@gmail.com> | 2012-07-05 12:06:02 +0100 |
commit | d30312f2d13b561bc0f596a8a57b4a944401600e (patch) | |
tree | 4ff815156c13b042c48ec971b6e5083bc45414f3 /app/controllers/api_controller.rb | |
parent | cb585bbe4f2918d0f6ca39dee674b89f2ea3e5ed (diff) |
Include request_id as well as event_id in the JSON
Diffstat (limited to 'app/controllers/api_controller.rb')
-rw-r--r-- | app/controllers/api_controller.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/api_controller.rb b/app/controllers/api_controller.rb index 2ba88eb1a..4db07b4c9 100644 --- a/app/controllers/api_controller.rb +++ b/app/controllers/api_controller.rb @@ -184,6 +184,7 @@ class ApiController < ApplicationController request = event.info_request this_event = { + :request_id => request.id, :event_id => event.id, :created_at => event.created_at.iso8601, :event_type => event.event_type, |