fix: use correct github release url

This commit is contained in:
2025-02-14 13:45:45 +00:00
parent cf1a66bb1d
commit 3df55189ad

View File

@ -1,6 +1,4 @@
use crate::repo::{ use crate::repo::{load_artifact_url, Repo, RepoRelease};
load_artifact_url, Repo, RepoRelease,
};
use anyhow::{anyhow, Result}; use anyhow::{anyhow, Result};
use log::{info, warn}; use log::{info, warn};
use nostr_sdk::Url; use nostr_sdk::Url;
@ -46,6 +44,7 @@ impl GithubRepo {
#[derive(Deserialize)] #[derive(Deserialize)]
struct GithubRelease { struct GithubRelease {
pub tag_name: String, pub tag_name: String,
#[serde(rename = "html_url")]
pub url: String, pub url: String,
pub name: String, pub name: String,
pub draft: bool, pub draft: bool,