Skip to content

Commit

Permalink
fix: use unversioned endpoint for backwards compat
Browse files Browse the repository at this point in the history
  • Loading branch information
Erik Arenhill committed Dec 4, 2019
1 parent 9065fd5 commit 358a92a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ actions.loadAppStore.subscribe(async () => {
const corsOptions = { ...fetchOptions, mode: 'cors', credentials: undefined }
debug('Using fetch/cors options:', corsOptions)

const response = await fetch(`${url}/v1/apps?dhis_version=${version}`, corsOptions)
const response = await fetch(`${url}/apps?dhis_version=${version}`, corsOptions)
const apps = await response.json();
appStoreStore.setState(Object.assign(appStoreStore.getState() || {}, { apps }));
});
Expand Down

0 comments on commit 358a92a

Please sign in to comment.