From 3df55189ad3a05ac603b205a7d57285d24268def Mon Sep 17 00:00:00 2001 From: kieran Date: Fri, 14 Feb 2025 13:45:45 +0000 Subject: [PATCH] fix: use correct github release url --- src/repo/github.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/repo/github.rs b/src/repo/github.rs index 9f7dd96..8012c13 100644 --- a/src/repo/github.rs +++ b/src/repo/github.rs @@ -1,6 +1,4 @@ -use crate::repo::{ - load_artifact_url, Repo, RepoRelease, -}; +use crate::repo::{load_artifact_url, Repo, RepoRelease}; use anyhow::{anyhow, Result}; use log::{info, warn}; use nostr_sdk::Url; @@ -46,6 +44,7 @@ impl GithubRepo { #[derive(Deserialize)] struct GithubRelease { pub tag_name: String, + #[serde(rename = "html_url")] pub url: String, pub name: String, pub draft: bool,