Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
smaeda-ks committed Apr 17, 2024
1 parent 4afc448 commit 6edf428
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli/src/util/get-scope.ts
Expand Up @@ -35,7 +35,7 @@ export default async function getScope(
* A user may have multiple Hobby teams (e.g., Pro Trial downgrade), but can have only one canonical Hobby team.
*/
const isCanonicalHobbyTeam =
(team?.billing.plan === 'hobby' &&
(team?.billing?.plan === 'hobby' &&
team.createdDirectToHobby &&
team.creatorId === user.id) ??
false;
Expand Down

0 comments on commit 6edf428

Please sign in to comment.