lib/tessitura_rest/web/session.rb in tessitura_rest-0.8.6.2 vs lib/tessitura_rest/web/session.rb in tessitura_rest-0.8.6.3

- old
+ new

@@ -98,10 +98,10 @@ 'NewEmailAddress': new_email, 'LoginTypeId': 1, 'PromotionCode': 0, } options.merge!(basic_auth: @auth, headers: @headers) - options.merge!(:body => parameters) + options.merge!(:body => parameters.to_json, :headers => {'Content-Type' => 'application/json'}) self.class.put(base_api_endpoint("Web/Session/#{key}/WebLogins"), options) end def get_shipping_methods(key, options={}) options.merge!(basic_auth: @auth, headers: @headers)