fix: name is updated to the tag_name in the version (#1116)

This commit is contained in:
palash-signoz 2022-05-10 12:59:15 +05:30 committed by GitHub
parent 9522bbf33b
commit 53528f1045
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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,
},
});
}

View File

@ -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;