1
0
mirror of https://github.com/stonith404/pingvin-share.git synced 2024-07-02 07:20:38 +02:00

fix: visitor count doesn't get incremented

This commit is contained in:
Elias Schneider 2022-10-29 22:49:30 +02:00
parent d0901d497b
commit c8021a42b7

View File

@ -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"