File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -288,7 +288,7 @@ class CloudinaryFile {
288288
289289 let queryParamsString = '' ;
290290
291- if ( typeof ( this . urlConfig . queryParams ) === 'object' ) {
291+ if ( typeof ( this . urlConfig . queryParams ) === 'object' ) {
292292
293293 try {
294294 const queryParams = new URLSearchParams ( this . urlConfig . queryParams as Record < string , string > ) ;
@@ -302,12 +302,11 @@ class CloudinaryFile {
302302 } catch ( err ) {
303303 console . error ( 'Error: URLSearchParams is not available so the queryParams object cannot be parsed, please try passing as an already parsed string' ) ;
304304 }
305- }
306- else {
305+ } else {
307306 queryParamsString = this . urlConfig . queryParams || '' ;
308307
309308 if ( shouldAddAnalytics ) {
310- queryParamsString += `${ ( queryParamsString . length > 0 ? "&" : "" ) } _a=${ getSDKAnalyticsSignature ( trackedAnalytics ) } ` ;
309+ queryParamsString += `${ ( queryParamsString . length > 0 ? '&' : '' ) } _a=${ getSDKAnalyticsSignature ( trackedAnalytics ) } ` ;
311310 }
312311 }
313312
You can’t perform that action at this time.
0 commit comments