upleb.uk

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

summaryrefslogtreecommitdiff
path: root/src/sub_commands/claim.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/sub_commands/claim.rs')
-rw-r--r--src/sub_commands/claim.rs13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/sub_commands/claim.rs b/src/sub_commands/claim.rs
index cb6e99d..9a38f56 100644
--- a/src/sub_commands/claim.rs
+++ b/src/sub_commands/claim.rs
@@ -67,12 +67,13 @@ pub async fn launch(cli_args: &Cli, args: &SubCommandArgs) -> Result<()> {
67 67
68 println!("publishing repostory reference..."); 68 println!("publishing repostory reference...");
69 69
70 let repo_event = RepoRef::default() 70 let repo_event = RepoRef {
71 .set_name(name) 71 name,
72 .set_description(description) 72 description,
73 .set_root_commit(root_commit.to_string()) 73 root_commit: root_commit.to_string(),
74 .set_relays(repo_relays.clone()) 74 relays: repo_relays.clone(),
75 .to_event(&keys)?; 75 }
76 .to_event(&keys)?;
76 77
77 send_events( 78 send_events(
78 &client, 79 &client,