mirror of
https://github.com/stonith404/pingvin-share.git
synced 2025-02-19 01:55:48 -05:00
refactor: run formatter
This commit is contained in:
parent
c2ddce6203
commit
63e0af3484
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue