mirror of
https://github.com/stonith404/pingvin-share.git
synced 2024-10-05 10:50:10 +02:00
fix: visitor count doesn't get incremented
This commit is contained in:
parent
d0901d497b
commit
c8021a42b7
@ -47,7 +47,7 @@ export class ShareSecurityGuard implements CanActivate {
|
|||||||
"share_password_required"
|
"share_password_required"
|
||||||
);
|
);
|
||||||
|
|
||||||
if (!this.shareService.verifyShareToken(shareId, shareToken))
|
if (!await this.shareService.verifyShareToken(shareId, shareToken))
|
||||||
throw new ForbiddenException(
|
throw new ForbiddenException(
|
||||||
"Share token required",
|
"Share token required",
|
||||||
"share_token_required"
|
"share_token_required"
|
||||||
|
Loading…
Reference in New Issue
Block a user