Skip to content

Commit

Permalink
Update packages/eas-cli/src/commands/fingerprint/compare.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Will Schurman <[email protected]>
  • Loading branch information
quinlanj and wschurman authored Feb 3, 2025
1 parent 2bb7746 commit 1ad3b47
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions packages/eas-cli/src/commands/fingerprint/compare.ts
Original file line number Diff line number Diff line change
Expand Up @@ -235,12 +235,9 @@ export default class FingerprintCompare extends EasCommand {
return;
}

const [accountName, project] = await Promise.all([
(await getOwnerAccountForProjectIdAsync(graphqlClient, projectId)).name,
AppQuery.byIdAsync(graphqlClient, projectId),
]);
const project = await AppQuery.byIdAsync(graphqlClient, projectId);
const fingerprintCompareUrl = new URL(
`/accounts/${accountName}/projects/${project.name}/fingerprint/compare`,
`/accounts/${project.ownerAccount.name}/projects/${project.name}/fingerprint/compare`,
getExpoWebsiteBaseUrl()
);
fingerprintCompareUrl.searchParams.set('a', firstFingerprintInfo.fingerprint.hash);
Expand Down

0 comments on commit 1ad3b47

Please sign in to comment.