Skip to content

Commit

Permalink
Fixed typo in variable (#1294)
Browse files Browse the repository at this point in the history
  • Loading branch information
aklochkova authored and pavgra committed Feb 4, 2019
1 parent b317d28 commit c6febcd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions js/pages/vocabulary/components/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ define([
Component,
AutoBind,
httpService,
contstants,
constants,
commonUtils,
vocabularyProvider
) {
Expand Down Expand Up @@ -294,7 +294,7 @@ define([
}

getVocabularies() {
httpService.doGet(contstants.apiPaths.vocabularies())
httpService.doGet(constants.apiPaths.vocabularies())
.then(({ data }) => {
const vocabularies = data.sort(function (a, b) {
return (a.VOCABULARY_ID.toUpperCase() < b.VOCABULARY_ID.toUpperCase()) ? -1 : (a.VOCABULARY_ID.toUpperCase() > b.VOCABULARY_ID.toUpperCase()) ? 1 : 0;
Expand All @@ -308,7 +308,7 @@ define([
}

getDomains() {
httpService.doGet(contstants.apiPaths.domains())
httpService.doGet(constants.apiPaths.domains())
.then(({ data }) => {
this.domains(data);
})
Expand Down

0 comments on commit c6febcd

Please sign in to comment.