mirror of
https://github.com/swissmakers/swiss-datashare.git
synced 2026-04-11 10:27:01 +02:00
fix: visitor count doesn't get incremented
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user