upleb.uk

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

summaryrefslogtreecommitdiff
path: root/src/sub_commands/prs/create.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/sub_commands/prs/create.rs')
-rw-r--r--src/sub_commands/prs/create.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sub_commands/prs/create.rs b/src/sub_commands/prs/create.rs
index 5c4e578..5e41a56 100644
--- a/src/sub_commands/prs/create.rs
+++ b/src/sub_commands/prs/create.rs
@@ -100,12 +100,12 @@ pub async fn launch(
100 generate_pr_and_patch_events(&title, &description, &to_branch, &git_repo, &ahead, &keys)?; 100 generate_pr_and_patch_events(&title, &description, &to_branch, &git_repo, &ahead, &keys)?;
101 101
102 let repo_ref = repo_ref::fetch( 102 let repo_ref = repo_ref::fetch(
103 &git_repo,
103 git_repo 104 git_repo
104 .get_root_commit(&to_branch) 105 .get_root_commit(&to_branch)
105 .context("failed to get root commit of the repository")? 106 .context("failed to get root commit of the repository")?
106 .to_string(), 107 .to_string(),
107 &client, 108 &client,
108 // TODO: get relay list from local yaml file
109 user_ref.relays.write(), 109 user_ref.relays.write(),
110 ) 110 )
111 .await?; 111 .await?;