We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6dd20b7 commit a870429Copy full SHA for a870429
1 file changed
lib/contentstack/api.rb
@@ -130,7 +130,7 @@ def self.send_preview_request(path, q=nil)
130
preview_host = @live_preview[:host]
131
params = {
132
"api_key" => @api_key,
133
- "access_token"=> @access_token,
+ "authorization" => @live_preview[:management_token],
134
"user_agent"=> "ruby-sdk/#{Contentstack::VERSION}",
135
"x-user-agent" => "ruby-sdk/#{Contentstack::VERSION}",
136
"read_timeout" => @timeout
0 commit comments