Skip to content

Commit e902bfc

Browse files
committed
fmt all
1 parent 3f206dd commit e902bfc

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

src/utils/api/mod.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,7 @@ fn get_org_id(api: AuthenticatedApi<'_>, org: &str) -> Result<u64> {
1818
return Ok(id);
1919
}
2020
let details = api.fetch_organization_details(org)?;
21-
details
22-
.id
23-
.parse::<u64>()
24-
.context("Unable to parse org id")
21+
details.id.parse::<u64>().context("Unable to parse org id")
2522
}
2623

2724
/// Given an org and project slugs or IDs, returns the project ID.

0 commit comments

Comments
 (0)