lib/finapps/rest/connection.rb in finapps-2.0.30 vs lib/finapps/rest/connection.rb in finapps-2.1.1

- old
+ new

@@ -16,10 +16,10 @@ conn.request :tenant_authentication, config.tenant_identifier, config.tenant_token conn.request :json conn.request :retry conn.request :multipart conn.request :url_encoded - conn.request :basic_auth, config.user_identifier, config.user_token if config.valid_user_credentials? + conn.request :no_encoding_basic_authentication, config.user_token if config.valid_user_credentials? conn.use FinApps::Middleware::RaiseError conn.response :rashify conn.response :json, content_type: /\bjson$/ conn.response :custom_logger, logger, bodies: (ENV['SILENT_LOG_BODIES'] != 'true')