mirror of
https://github.com/stonith404/pingvin-share.git
synced 2025-01-15 01:14:27 -05:00
fix: visitor count doesn't get incremented
This commit is contained in:
parent
d0901d497b
commit
c8021a42b7
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ export class ShareSecurityGuard implements CanActivate {
|
|||
"share_password_required"
|
||||
);
|
||||
|
||||
if (!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