projects
/
arvados-workbench2.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch '18219-prop-chips-styling'. Refs #18219
[arvados-workbench2.git]
/
src
/
services
/
vocabulary-service
/
vocabulary-service.ts
diff --git
a/src/services/vocabulary-service/vocabulary-service.ts
b/src/services/vocabulary-service/vocabulary-service.ts
index ff2de1596443e14f8b818407f1632ba095c3880b..38163f77860d2d41af57c1526df3f752009df4a7 100644
(file)
--- a/
src/services/vocabulary-service/vocabulary-service.ts
+++ b/
src/services/vocabulary-service/vocabulary-service.ts
@@
-10,9
+10,9
@@
export class VocabularyService {
private url: string
) { }
- getVocabulary() {
-
return
Axios
- .get<Vocabulary>(this.url)
-
.then(response => response.data)
;
+
async
getVocabulary() {
+
const response = await
Axios
+ .get<Vocabulary>(this.url)
;
+
return response.data
;
}
}