TypeError: this.bloodHoundApi.unleashBooldHound is not a function

#1

Hi,
I am using popover to display different option for user to select , after selecting or inputting different values user clicks on search button on popover. see the screen dump below :

Capture
on search button i have event :

  close() {   
    let data = {
      dStart : this.dStart,
      dEnd : this.dEnd,
      searchText: this.searchText,
      supplier : this.supplier,
      barcode: this.barcode
    };    
    this.viewCtrl.dismiss(data);
  }

In the parent component I am presenting this popover using the code below :

presentSearchPopover(ev){
    let popover = this.popoverCtrl.create(PopoverSearchPage,{});
    popover.present({
      ev: ev
    });
    popover.onDidDismiss(data => {
      console.log(data);
      if(data!=null){
       this.dStart  = data.dStart;
       this.dEnd = data.dEnd;
       this.supplier = data.supplier;
       this.barcode = data.barcode;
       this.searchText = data.searchText; 
      this.bloodHoundIt();
      }
         
    })    
  }

The bloodHoundIt() function code is below:

 bloodHoundIt(){     
      this.bloodHoundApi.unleashBooldHound(this.authorizationKey,
        this.datePipe.transform( this.dStart,'yyyyMMdd'),
        this.datePipe.transform( this.dEnd,'yyyyMMdd'),
        this.searchText,
        this.supplier,
        this.barcode).subscribe((response)=>{
          console.log(response);
        });    
   } 

now when I run the code I get error msg:

TypeError: this.bloodHoundApi.unleashBooldHound is not a function

Any idea what I am doing wrong here .
Thanks

#2

Perhaps misspelling “blood”?

#3

Thanks for your reply. Nothing was wrong after spending 3-4 hours to fix it , end up usual restart machine and all started working fine.