upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/src/lib/repo_ref.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/repo_ref.rs')
-rw-r--r--src/lib/repo_ref.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/repo_ref.rs b/src/lib/repo_ref.rs
index 1a0fe85..df1427a 100644
--- a/src/lib/repo_ref.rs
+++ b/src/lib/repo_ref.rs
@@ -18,6 +18,7 @@ use serde::{Deserialize, Serialize};
18#[cfg(not(test))] 18#[cfg(not(test))]
19use crate::client::Client; 19use crate::client::Client;
20use crate::{ 20use crate::{
21 UrlWithoutSlash,
21 cli_interactor::{ 22 cli_interactor::{
22 Interactor, InteractorPrompt, PromptChoiceParms, PromptConfirmParms, PromptInputParms, 23 Interactor, InteractorPrompt, PromptChoiceParms, PromptConfirmParms, PromptInputParms,
23 }, 24 },
@@ -204,7 +205,9 @@ impl RepoRef {
204 } else { 205 } else {
205 vec![Tag::custom( 206 vec![Tag::custom(
206 nostr::TagKind::Custom(std::borrow::Cow::Borrowed("blossoms")), 207 nostr::TagKind::Custom(std::borrow::Cow::Borrowed("blossoms")),
207 self.blossoms.iter().map(|r| r.to_string()), 208 self.blossoms
209 .iter()
210 .map(|r| r.to_string_without_trailing_slash()),
208 )] 211 )]
209 }, 212 },
210 // code languages and hashtags 213 // code languages and hashtags