Skip to content

Commit

Permalink
fix: visitor count doesn't get incremented
Browse files Browse the repository at this point in the history
  • Loading branch information
stonith404 committed Oct 29, 2022
1 parent d0901d4 commit c8021a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/share/guard/shareSecurity.guard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit c8021a4

Please sign in to comment.