lib/phrase/api/uploads_api.rb in phrase-2.5.0 vs lib/phrase/api/uploads_api.rb in phrase-2.5.1
- old
+ new
@@ -99,11 +99,11 @@
# return_type
return_type = opts[:return_type] || 'Upload'
# auth_names
- auth_names = opts[:auth_names] || ['Basic', 'Token', 'bearerAuth']
+ auth_names = opts[:auth_names] || ['Basic', 'Token']
new_options = opts.merge(
:header_params => header_params,
:query_params => query_params,
:form_params => form_params,
@@ -174,11 +174,11 @@
# return_type
return_type = opts[:return_type] || 'Upload'
# auth_names
- auth_names = opts[:auth_names] || ['Basic', 'Token', 'bearerAuth']
+ auth_names = opts[:auth_names] || ['Basic', 'Token']
new_options = opts.merge(
:header_params => header_params,
:query_params => query_params,
:form_params => form_params,
@@ -249,10 +249,10 @@
# return_type
return_type = opts[:return_type] || 'Array<Upload>'
# auth_names
- auth_names = opts[:auth_names] || ['Basic', 'Token', 'bearerAuth']
+ auth_names = opts[:auth_names] || ['Basic', 'Token']
new_options = opts.merge(
:header_params => header_params,
:query_params => query_params,
:form_params => form_params,