@hivegpt/hiveai-angular 0.0.297 → 0.0.299

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -839,9 +839,11 @@
839
839
  if (changes.orgId.currentValue != changes.orgId.previousValue &&
840
840
  changes.orgId.currentValue) {
841
841
  this.initializeSocket();
842
- this.botService.getWorkflowsByOrgId(this.orgId).subscribe(function (res) {
843
- _this.orgWorkflows = res;
844
- });
842
+ if (this.botId != '66fa3f276c5d71e2717bfea8') {
843
+ this.botService.getWorkflowsByOrgId(this.orgId).subscribe(function (res) {
844
+ _this.orgWorkflows = res;
845
+ });
846
+ }
845
847
  }
846
848
  }
847
849
  };
@@ -867,10 +869,12 @@
867
869
  this.fetchEditorContent();
868
870
  this.cdr.markForCheck();
869
871
  // this.initializeSocket();
870
- this.botService.fetchSpeechAuthorizationToken().subscribe(function (token) {
871
- _this.authorizationToken = token;
872
- _this.initializeSpeechRecognizer(token);
873
- });
872
+ if (this.botId != '66fa3f276c5d71e2717bfea8') {
873
+ this.botService.fetchSpeechAuthorizationToken().subscribe(function (token) {
874
+ _this.authorizationToken = token;
875
+ _this.initializeSpeechRecognizer(token);
876
+ });
877
+ }
874
878
  };
875
879
  ChatDrawerComponent.prototype.initializeSocket = function () {
876
880
  var _this = this;