From be4734068b5e2653c777ec94ea81d61f4734fe22 Mon Sep 17 00:00:00 2001 From: milanmajchrak Date: Thu, 21 Dec 2023 08:09:43 +0100 Subject: [PATCH] Updated comment --- .../clarin-bitstream-download-page.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/bitstream-page/clarin-bitstream-download-page/clarin-bitstream-download-page.component.ts b/src/app/bitstream-page/clarin-bitstream-download-page/clarin-bitstream-download-page.component.ts index f9b0700fb2f..04d2fe87bb9 100644 --- a/src/app/bitstream-page/clarin-bitstream-download-page/clarin-bitstream-download-page.component.ts +++ b/src/app/bitstream-page/clarin-bitstream-download-page/clarin-bitstream-download-page.component.ts @@ -85,7 +85,7 @@ export class ClarinBitstreamDownloadPageComponent implements OnInit { this.requestService.send(headRequest); const clarinIsAuthorized$ = this.rdbService.buildFromRequestUUID(requestId); - // Clarin authorization check into dtoken parameter from the request + // Clarin authorization will check dtoken parameter from the request const dtoken = isNotEmpty(this.dtoken) ? '?dtoken=' + this.dtoken : ''; const isAuthorized$ = this.authorizationService.isAuthorized(FeatureID.CanDownload, isNotEmpty(bitstream) ? bitstream.self + dtoken : undefined); const isLoggedIn$ = this.auth.isAuthenticated();