diff --git a/frontend/src/container/AppLayout/index.tsx b/frontend/src/container/AppLayout/index.tsx index 5abb5f4d6f..911dcd018c 100644 --- a/frontend/src/container/AppLayout/index.tsx +++ b/frontend/src/container/AppLayout/index.tsx @@ -117,7 +117,7 @@ function AppLayout(props: AppLayoutProps): JSX.Element { dispatch({ type: UPDATE_LATEST_VERSION, payload: { - latestVersion: getUserLatestVersionResponse.data.payload.name, + latestVersion: getUserLatestVersionResponse.data.payload.tag_name, }, }); } diff --git a/frontend/src/types/api/user/getLatestVersion.ts b/frontend/src/types/api/user/getLatestVersion.ts index 043ccb1b45..659a7a3735 100644 --- a/frontend/src/types/api/user/getLatestVersion.ts +++ b/frontend/src/types/api/user/getLatestVersion.ts @@ -9,7 +9,7 @@ export interface PayloadProps { node_id: number; prerelease: boolean; published_at: string; - tag_name: number; + tag_name: string; tarball_url: string; target_commitish: string; upload_url: string;