NotificationHub登録方法修正

This commit is contained in:
SAITO-PC-3\saito.k 2024-11-27 11:16:46 +09:00
parent 11395279af
commit 0b451ed62f

View File

@ -523,13 +523,6 @@ export class BlobstorageService {
// アカウントIDをもとにblobのリージョンマッピング用テーブルからストレージアカウントの情報を取得する // アカウントIDをもとにblobのリージョンマッピング用テーブルからストレージアカウントの情報を取得する
const containerName = `account-${accountId}`; const containerName = `account-${accountId}`;
if (accountId) {
const blobService = new BlobServiceClient(
'',
new StorageSharedKeyCredential('', ''),
);
return blobService.getContainerClient(containerName);
}
if (BLOB_STORAGE_REGION_US.includes(country)) { if (BLOB_STORAGE_REGION_US.includes(country)) {
return this.blobServiceClientUS.getContainerClient(containerName); return this.blobServiceClientUS.getContainerClient(containerName);