We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f206dd commit e902bfcCopy full SHA for e902bfc
1 file changed
src/utils/api/mod.rs
@@ -18,10 +18,7 @@ fn get_org_id(api: AuthenticatedApi<'_>, org: &str) -> Result<u64> {
18
return Ok(id);
19
}
20
let details = api.fetch_organization_details(org)?;
21
- details
22
- .id
23
- .parse::<u64>()
24
- .context("Unable to parse org id")
+ details.id.parse::<u64>().context("Unable to parse org id")
25
26
27
/// Given an org and project slugs or IDs, returns the project ID.
0 commit comments