diff --git a/src/structs/update.rs b/src/structs/update.rs index 8f2f54b..cc70621 100644 --- a/src/structs/update.rs +++ b/src/structs/update.rs @@ -37,9 +37,7 @@ pub enum UpdateInfo { pub struct VersionUpdateInfo { pub version_update_type: String, pub new_tag: String, - #[serde(skip_serializing, skip_deserializing)] pub current_version: String, - #[serde(skip_serializing, skip_deserializing)] pub new_version: String, } diff --git a/web/src/types.ts b/web/src/types.ts index 393c502..e5390a1 100644 --- a/web/src/types.ts +++ b/web/src/types.ts @@ -33,6 +33,8 @@ interface VersionInfo { type: "version"; version_update_type: "major" | "minor" | "patch"; new_tag: string; + current_version: string; + new_version: string; } interface DigestInfo {