File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -317,7 +317,7 @@ class DHLSoap extends Stub {
317
317
318
318
constructor ( courier ?: Courier , kwargs ?: { [ key : string ] : any } ) {
319
319
super ( courier , kwargs ?. cfg , kwargs ?. logger ) ;
320
- this . stub_defaults = this . cfg ?. get ( `stubs:DHLSoap :${ courier ?. id } ` ) ?? this . cfg ?. get ( ' stubs:DHLSoap :defaults' ) ;
320
+ this . stub_defaults = this . cfg ?. get ( `stubs:${ this . type } :${ courier ?. id } ` ) ?? this . cfg ?. get ( ` stubs:${ this . type } :defaults` ) ;
321
321
this . version = this . stub_defaults ?. ordering ?. version ?? [ 3 , 4 , 0 ] ;
322
322
323
323
this . status_codes = {
@@ -698,4 +698,4 @@ class DHLSoap extends Stub {
698
698
}
699
699
} ;
700
700
701
- Stub . register ( DHLSoap . constructor . name , DHLSoap ) ;
701
+ Stub . register ( DHLSoap . name , DHLSoap ) ;
Original file line number Diff line number Diff line change @@ -34,4 +34,4 @@ class Dummy extends Stub {
34
34
}
35
35
}
36
36
37
- Stub . register ( Dummy . constructor . name , Dummy ) ;
37
+ Stub . register ( Dummy . name , Dummy ) ;
You can’t perform that action at this time.
0 commit comments