@@ -432,7 +432,7 @@ export class AnnotationStore {
432432 return privateClient . utilVariantAnnotationGetUsingGET ( {
433433 hugoSymbol : this . gene . result . hugoSymbol ,
434434 alteration : this . alterationQuery ,
435- tumorType : this . tumorTypeQuery ,
435+ tumorType : this . tumorTypeQuery ? this . tumorTypeQuery : undefined ,
436436 referenceGenome : this . referenceGenomeQuery ,
437437 germline : this . germline ,
438438 } ) ;
@@ -445,7 +445,7 @@ export class AnnotationStore {
445445 invoke : ( ) => {
446446 return privateClient . utilVariantAnnotationGetUsingGET ( {
447447 hgvsg : this . hgvsgQuery ,
448- tumorType : this . tumorTypeQuery ?? undefined ,
448+ tumorType : this . tumorTypeQuery ? this . tumorTypeQuery : undefined ,
449449 referenceGenome : this . referenceGenomeQuery ,
450450 } ) ;
451451 } ,
@@ -457,7 +457,7 @@ export class AnnotationStore {
457457 invoke : ( ) => {
458458 return privateClient . utilVariantAnnotationGetUsingGET ( {
459459 genomicChange : this . genomicChangeQuery ,
460- tumorType : this . tumorTypeQuery ,
460+ tumorType : this . tumorTypeQuery ? this . tumorTypeQuery : undefined ,
461461 referenceGenome : this . referenceGenomeQuery ,
462462 } ) ;
463463 } ,
0 commit comments