mirror of
https://github.com/stonith404/pingvin-share.git
synced 2024-11-05 07:20:13 +01:00
refactor: run formatter
This commit is contained in:
parent
c2ddce6203
commit
63e0af3484
@ -47,7 +47,7 @@ export class ShareSecurityGuard implements CanActivate {
|
||||
"share_password_required"
|
||||
);
|
||||
|
||||
if (!await this.shareService.verifyShareToken(shareId, shareToken))
|
||||
if (!(await this.shareService.verifyShareToken(shareId, shareToken)))
|
||||
throw new ForbiddenException(
|
||||
"Share token required",
|
||||
"share_token_required"
|
||||
|
Loading…
Reference in New Issue
Block a user