Skip to content

Commit

Permalink
fix(ontology search url): ontologu search url is fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
oyurekten committed Nov 19, 2023
1 parent 751ba2e commit 79707bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/components/shared/ontology/ontology.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export class OntologyComponent implements OnInit, OnChanges {

ngOnInit() {
this.baseHref = this.configService.baseHref;
this.wsDomain = this.configService.config.metabolightsWSURL.domain;
this.wsDomain = this.configService.config.endpoint;
if (this.values === null || this.values[0] === null) {
this.values = [];
}
Expand All @@ -99,7 +99,7 @@ export class OntologyComponent implements OnInit, OnChanges {
this.endPoints = this.validations["recommended-ontologies"].ontology;
if (this.url !== "") {
this.editorService
.getOntologyTerms(this.wsDomain + this.url)
.getOntologyTerms(this.wsDomain + "/" + this.url)
.subscribe((terms) => {
this.allvalues = [];
const jsonConvert: JsonConvert = new JsonConvert();
Expand Down

0 comments on commit 79707bc

Please sign in to comment.