diff --git a/ui/src/store/index.ts b/ui/src/store/index.ts index fba0f249..2ad58a5b 100644 --- a/ui/src/store/index.ts +++ b/ui/src/store/index.ts @@ -21,8 +21,8 @@ const actions: ActionTree = { [LOOK_UP_VERSION]({ commit }) { // TODO: hit a static asset? - EnduroCollectionClient.collectionList({cursor: '0'}).catch((response) => { - const v = response.headers.get('X-Enduro-Version'); + EnduroCollectionClient.collectionListRaw({cursor: '0'}).then((response) => { + const v = response.raw.headers.get('X-Enduro-Version'); commit(SET_VERSION, v); }); },