File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -157,6 +157,11 @@ export class FileBucketApi {
157157 } ;
158158
159159 let authenticationPromise = Promise . resolve ( ) ;
160+ if ( this . authentications . API_Key . accessToken ) {
161+ authenticationPromise = authenticationPromise . then ( ( ) =>
162+ this . authentications . API_Key . applyToRequest ( localVarRequestOptions )
163+ ) ;
164+ }
160165 authenticationPromise = authenticationPromise . then ( ( ) =>
161166 this . authentications . default . applyToRequest ( localVarRequestOptions )
162167 ) ;
Original file line number Diff line number Diff line change @@ -151,6 +151,11 @@ export class FileDownloadApi {
151151 } ;
152152
153153 let authenticationPromise = Promise . resolve ( ) ;
154+ if ( this . authentications . API_Key . accessToken ) {
155+ authenticationPromise = authenticationPromise . then ( ( ) =>
156+ this . authentications . API_Key . applyToRequest ( localVarRequestOptions )
157+ ) ;
158+ }
154159 authenticationPromise = authenticationPromise . then ( ( ) =>
155160 this . authentications . default . applyToRequest ( localVarRequestOptions )
156161 ) ;
Original file line number Diff line number Diff line change @@ -157,6 +157,11 @@ export class FileProviderApi {
157157 } ;
158158
159159 let authenticationPromise = Promise . resolve ( ) ;
160+ if ( this . authentications . API_Key . accessToken ) {
161+ authenticationPromise = authenticationPromise . then ( ( ) =>
162+ this . authentications . API_Key . applyToRequest ( localVarRequestOptions )
163+ ) ;
164+ }
160165 authenticationPromise = authenticationPromise . then ( ( ) =>
161166 this . authentications . default . applyToRequest ( localVarRequestOptions )
162167 ) ;
Original file line number Diff line number Diff line change @@ -151,6 +151,11 @@ export class FileUploadApi {
151151 } ;
152152
153153 let authenticationPromise = Promise . resolve ( ) ;
154+ if ( this . authentications . API_Key . accessToken ) {
155+ authenticationPromise = authenticationPromise . then ( ( ) =>
156+ this . authentications . API_Key . applyToRequest ( localVarRequestOptions )
157+ ) ;
158+ }
154159 authenticationPromise = authenticationPromise . then ( ( ) =>
155160 this . authentications . default . applyToRequest ( localVarRequestOptions )
156161 ) ;
You can’t perform that action at this time.
0 commit comments