From 65f80b9a5b0c2729119a520411d2ec95a58b672e Mon Sep 17 00:00:00 2001 From: "makabe.t" Date: Mon, 2 Oct 2023 08:11:36 +0000 Subject: [PATCH] =?UTF-8?q?Merged=20PR=20459:=20=E3=83=91=E3=82=A4?= =?UTF-8?q?=E3=83=97=E3=83=A9=E3=82=A4=E3=83=B3=E3=83=86=E3=82=B9=E3=83=88?= =?UTF-8?q?=E3=82=A8=E3=83=A9=E3=83=BC=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## 概要 [Task2773: パイプラインテストエラー修正](https://paruru.nds-tyo.co.jp:8443/tfs/ReciproCollection/fa4924a4-d079-4fab-9fb5-a9a11eb205f0/_workitems/edit/2773) - パイプラインでのテストエラー対応のため環境変数のチェックを外しました。 ## レビューポイント - 共有 ## UIの変更 - なし ## 動作確認状況 - ローカルで確認 --- .../src/gateways/blobstorage/blobstorage.service.ts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/dictation_server/src/gateways/blobstorage/blobstorage.service.ts b/dictation_server/src/gateways/blobstorage/blobstorage.service.ts index 4f81b5f..57dd908 100644 --- a/dictation_server/src/gateways/blobstorage/blobstorage.service.ts +++ b/dictation_server/src/gateways/blobstorage/blobstorage.service.ts @@ -51,14 +51,9 @@ export class BlobstorageService { this.configService.get('STORAGE_ACCOUNT_ENDPOINT_EU'), this.sharedKeyCredentialEU, ); - - const expireTime = Number( + this.sasTokenExpireHour = Number( this.configService.get('STORAGE_TOKEN_EXPIRE_TIME'), ); - if (Number.isNaN(expireTime)) { - throw new Error(`STORAGE_TOKEN_EXPIRE_TIME is invalid value NaN`); - } - this.sasTokenExpireHour = expireTime; } /**