Skip to content

Commit f7b6a4e

Browse files
committed
renamed api_key to access_token in Replay#upload call
1 parent f161ec0 commit f7b6a4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/esdb/replay.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ class Replay < ESDB::Resource
44
# successfully queued for processing.
55
def self.upload(file)
66
replay = self.new
7-
response = JSON.parse(RestClient.post(replay.url, :file => file, :api_key => ESDB.api_key))
7+
response = JSON.parse(RestClient.post(replay.url, :file => file, :access_token => ESDB.api_key))
88
Rails.logger.info response.inspect
99

1010
response['job'] ? response['job'] : false

0 commit comments

Comments
 (0)