@@ -321,9 +321,6 @@ export class Client {
321
321
* before calling the CallInvocationTransformer, and we need to create the
322
322
* call after that. */
323
323
emitter . call = call ;
324
- if ( callProperties . callOptions . credentials ) {
325
- call . setCredentials ( callProperties . callOptions . credentials ) ;
326
- }
327
324
let responseMessage : ResponseType | null = null ;
328
325
let receivedStatus = false ;
329
326
const callerStackError = new Error ( ) ;
@@ -449,9 +446,6 @@ export class Client {
449
446
* before calling the CallInvocationTransformer, and we need to create the
450
447
* call after that. */
451
448
emitter . call = call ;
452
- if ( callProperties . callOptions . credentials ) {
453
- call . setCredentials ( callProperties . callOptions . credentials ) ;
454
- }
455
449
let responseMessage : ResponseType | null = null ;
456
450
let receivedStatus = false ;
457
451
const callerStackError = new Error ( ) ;
@@ -582,9 +576,6 @@ export class Client {
582
576
* before calling the CallInvocationTransformer, and we need to create the
583
577
* call after that. */
584
578
stream . call = call ;
585
- if ( callProperties . callOptions . credentials ) {
586
- call . setCredentials ( callProperties . callOptions . credentials ) ;
587
- }
588
579
let receivedStatus = false ;
589
580
const callerStackError = new Error ( ) ;
590
581
call . start ( callProperties . metadata , {
@@ -681,9 +672,6 @@ export class Client {
681
672
* before calling the CallInvocationTransformer, and we need to create the
682
673
* call after that. */
683
674
stream . call = call ;
684
- if ( callProperties . callOptions . credentials ) {
685
- call . setCredentials ( callProperties . callOptions . credentials ) ;
686
- }
687
675
let receivedStatus = false ;
688
676
const callerStackError = new Error ( ) ;
689
677
call . start ( callProperties . metadata , {
0 commit comments