Accepts incoming events and correctly parses them into events. GeoLite2 integration complete"
This commit is contained in:
@@ -67,7 +67,8 @@ class Api::EventsController < ApplicationController
|
||||
headers = {}
|
||||
important_headers.each do |header|
|
||||
value = request.headers[header]
|
||||
headers[header] = value if value.present?
|
||||
# Standardize headers to lower case during import phase
|
||||
headers[header.downcase] = value if value.present?
|
||||
end
|
||||
|
||||
headers
|
||||
|
||||
Reference in New Issue
Block a user