Skip to content

Commit

Permalink
add missing return
Browse files Browse the repository at this point in the history
  • Loading branch information
despairblue committed Nov 4, 2024
1 parent fbd0c75 commit d2c17e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli/src/services/ownership.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export class OwnershipService {
projectId,
);

if (cachedValue) this.userRepository.create(cachedValue);
if (cachedValue) return this.userRepository.create(cachedValue);
if (cachedValue === null) return null;

const ownerRel = await this.projectRelationRepository.getPersonalProjectOwners([projectId]);
Expand Down

0 comments on commit d2c17e1

Please sign in to comment.