Update qbo_controller.rb

This commit is contained in:
2016-07-28 08:47:39 -04:00
committed by GitHub
parent ca6e51911b
commit 0d5fb8d3e3

View File

@@ -72,7 +72,7 @@ class QboController < ApplicationController
data = params.as_json data = params.as_json
end end
entities = data[0]['eventNotifications'][0]['dataChangeEvent']['entities'] entities = data['eventNotifications'][0]['dataChangeEvent']['entities']
# The webhook doesn't require a response but let's make sure # The webhook doesn't require a response but let's make sure
# we don't send anything # we don't send anything