Skip to content

Commit

Permalink
fix(guides url): guides url is fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
oyurekten committed Nov 19, 2023
1 parent 79707bc commit 735ade2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/app/services/metabolights/metabolights.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,12 @@ export class MetabolightsService extends DataService {

// Study validation details
getLanguageMappings() {
let url = this.url.guides;
if (this.url.guides.endsWith("/") === false){
url = this.url.guides + "/";
}
return this.http
.get(this.url.guides + "mapping.json")
.get(url + "mapping.json")
.pipe(catchError(this.handleError));
}

Expand Down

0 comments on commit 735ade2

Please sign in to comment.