refactor: run formatter

This commit is contained in:
Elias Schneider
2022-10-18 14:30:41 +02:00
parent 84d29dff68
commit 38986c971a
3 changed files with 4 additions and 3 deletions

View File

@@ -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;
}