We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f161ec0 commit f7b6a4eCopy full SHA for f7b6a4e
lib/esdb/replay.rb
@@ -4,7 +4,7 @@ class Replay < ESDB::Resource
4
# successfully queued for processing.
5
def self.upload(file)
6
replay = self.new
7
- response = JSON.parse(RestClient.post(replay.url, :file => file, :api_key => ESDB.api_key))
+ response = JSON.parse(RestClient.post(replay.url, :file => file, :access_token => ESDB.api_key))
8
Rails.logger.info response.inspect
9
10
response['job'] ? response['job'] : false
0 commit comments