fix cranky

This commit is contained in:
Nikita Galaiko 2023-10-23 10:05:20 +02:00 committed by GitButler
parent 3d14551ed2
commit 2addf81189

View File

@ -51,7 +51,7 @@ pub async fn commit_virtual_branch(
message: "Malformed branch id".to_string(),
})?;
let ownership = ownership
.map(|s| s.parse())
.map(str::parse)
.transpose()
.map_err(|_| Error::UserError {
code: Code::Validation,