@@ -225,7 +225,7 @@ export abstract class AuthClient
225
225
* used to correlate calls and responses.
226
226
*/
227
227
static readonly RequestMethodNameSymbol : unique symbol = Symbol (
228
- 'request method name'
228
+ 'request method name' ,
229
229
) ;
230
230
static readonly RequestLogIdSymbol : unique symbol = Symbol ( 'request log id' ) ;
231
231
@@ -246,10 +246,10 @@ export abstract class AuthClient
246
246
247
247
if ( options . get ( 'useAuthRequestParameters' ) !== false ) {
248
248
this . transporter . interceptors . request . add (
249
- AuthClient . DEFAULT_REQUEST_INTERCEPTOR
249
+ AuthClient . DEFAULT_REQUEST_INTERCEPTOR ,
250
250
) ;
251
251
this . transporter . interceptors . response . add (
252
- AuthClient . DEFAULT_RESPONSE_INTERCEPTOR
252
+ AuthClient . DEFAULT_RESPONSE_INTERCEPTOR ,
253
253
) ;
254
254
}
255
255
@@ -364,7 +364,8 @@ export abstract class AuthClient
364
364
}
365
365
366
366
try {
367
- const symbols : SymbolIndexString = config as unknown as SymbolIndexString ;
367
+ const symbols : SymbolIndexString =
368
+ config as unknown as SymbolIndexString ;
368
369
const methodName = symbols [ AuthClient . RequestMethodNameSymbol ] ;
369
370
370
371
// This doesn't need to be very unique or interesting, it's just an aid for
@@ -378,7 +379,12 @@ export abstract class AuthClient
378
379
headers : config . headers ,
379
380
} ;
380
381
if ( methodName ) {
381
- AuthClient . log . info ( '%s [%s] request %j' , methodName , logId , logObject ) ;
382
+ AuthClient . log . info (
383
+ '%s [%s] request %j' ,
384
+ methodName ,
385
+ logId ,
386
+ logObject ,
387
+ ) ;
382
388
} else {
383
389
AuthClient . log . info ( '[%s] request %j' , logId , logObject ) ;
384
390
}
@@ -404,7 +410,7 @@ export abstract class AuthClient
404
410
'%s [%s] response %j' ,
405
411
methodName ,
406
412
logId ,
407
- response . data
413
+ response . data ,
408
414
) ;
409
415
} else {
410
416
AuthClient . log . info ( '[%s] response %j' , logId , response . data ) ;
@@ -426,7 +432,7 @@ export abstract class AuthClient
426
432
'%s [%s] error %j' ,
427
433
methodName ,
428
434
logId ,
429
- error . response ?. data
435
+ error . response ?. data ,
430
436
) ;
431
437
} else {
432
438
AuthClient . log . error ( '[%s] error %j' , logId , error . response ?. data ) ;
0 commit comments