refactor: run formatter
This commit is contained in:
@@ -28,7 +28,7 @@ export class ShareOwnerGuard implements CanActivate {
|
||||
|
||||
if (!share) throw new NotFoundException("Share not found");
|
||||
|
||||
if(!share.creatorId) return true;
|
||||
if (!share.creatorId) return true;
|
||||
|
||||
return share.creatorId == (request.user as User).id;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user