コメントを修正

This commit is contained in:
saito.k 2023-09-28 15:22:30 +09:00
parent f289bb3d19
commit deb08d81d2

View File

@ -43,7 +43,7 @@ export class TemplateFilesRepositoryService {
where: { account_id: accountId, file_name: fileName },
});
// すでに同名ファイルがあれば更新、なければ追加
// 同名ファイルは同じものとして扱うため、すでにファイルがあれば更新(更新日時の履歴を残しておきたい)
if (template) {
await templateFilesRepo.update(
{ id: template.id },