From 9a00d130b05d1e8e762c1e5df12c709c5c38890c Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Wed, 1 Nov 2023 00:00:00 +0000 Subject: build(deps) update nostr nostr-sdk fix breaking changes --- src/sub_commands/prs/create.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/sub_commands/prs/create.rs') diff --git a/src/sub_commands/prs/create.rs b/src/sub_commands/prs/create.rs index 0249488..5986235 100644 --- a/src/sub_commands/prs/create.rs +++ b/src/sub_commands/prs/create.rs @@ -90,7 +90,7 @@ pub async fn launch( let keys = login::launch(&cli_args.nsec, &cli_args.password, None).await?; let events = - generate_pr_and_patch_events(&title, &description, &to_branch, &git_repo, &ahead, keys)?; + generate_pr_and_patch_events(&title, &description, &to_branch, &git_repo, &ahead, &keys)?; let my_write_relays: Vec = vec![ "ws://localhost:8051".to_string(), @@ -318,7 +318,7 @@ fn generate_pr_and_patch_events( to_branch: &str, git_repo: &Repo, commits: &Vec, - keys: nostr::Keys, + keys: &nostr::Keys, ) -> Result> { let root_commit = git_repo .get_root_commit(to_branch) @@ -337,7 +337,7 @@ fn generate_pr_and_patch_events( // TODO: people tag maintainers // TODO: add relay tags ) - .to_event(&keys) + .to_event(keys) .context("failed to create pr event")?; let pr_event_id = pr_event.id; @@ -375,7 +375,7 @@ fn generate_pr_and_patch_events( // TODO: add relay tags ], ) - .to_event(&keys)?, + .to_event(keys)?, ); } Ok(events) -- cgit v1.2.3