From cdbab8eba135e2334b7b3639259c61deca0f283d Mon Sep 17 00:00:00 2001 From: Jiri Tomasek Date: Thu, 25 Jun 2020 10:57:54 +0200 Subject: [PATCH] Update versions API endpoint, export DetailList --- src/api/versions.ts | 2 +- src/components/ui/index.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/api/versions.ts b/src/api/versions.ts index 11203a9091..b99b895a25 100644 --- a/src/api/versions.ts +++ b/src/api/versions.ts @@ -1,4 +1,4 @@ import { AxiosPromise } from 'axios'; import { client } from './axiosClient'; -export const getVersions = (): AxiosPromise => client.get('/versions'); +export const getVersions = (): AxiosPromise => client.get('/component_versions'); diff --git a/src/components/ui/index.ts b/src/components/ui/index.ts index 8f30716de9..110d0c754b 100644 --- a/src/components/ui/index.ts +++ b/src/components/ui/index.ts @@ -3,6 +3,7 @@ export * from './utils'; export * from './formik'; export * from './Toolbar'; export * from './Alerts'; +export * from './DetailList'; export { default as PageSection } from './PageSection'; export { default as ExternalLink } from './ExternalLink';