From deb08d81d237e8b29297e745cb13d601cbb6c4dd Mon Sep 17 00:00:00 2001 From: "saito.k" Date: Thu, 28 Sep 2023 15:22:30 +0900 Subject: [PATCH] =?UTF-8?q?=E3=82=B3=E3=83=A1=E3=83=B3=E3=83=88=E3=82=92?= =?UTF-8?q?=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../template_files/template_files.repository.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dictation_server/src/repositories/template_files/template_files.repository.service.ts b/dictation_server/src/repositories/template_files/template_files.repository.service.ts index 4db05b0..4647b3f 100644 --- a/dictation_server/src/repositories/template_files/template_files.repository.service.ts +++ b/dictation_server/src/repositories/template_files/template_files.repository.service.ts @@ -43,7 +43,7 @@ export class TemplateFilesRepositoryService { where: { account_id: accountId, file_name: fileName }, }); - // すでに同名ファイルがあれば更新、なければ追加 + // 同名ファイルは同じものとして扱うため、すでにファイルがあれば更新(更新日時の履歴を残しておきたい) if (template) { await templateFilesRepo.update( { id: template.id },