소스 검색

feat(video): add sanitizedSecondTags to video list for improved data handling

Dave 1 개월 전
부모
커밋
2b4bfbddb0
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      apps/box-mgnt-api/src/mgnt-backend/feature/video-media/video-media.service.ts

+ 1 - 2
apps/box-mgnt-api/src/mgnt-backend/feature/video-media/video-media.service.ts

@@ -106,8 +106,7 @@ export class VideoMediaService {
         tags: row.tags ?? [],
         tagsFlat: row.tagsFlat ?? '',
         secondTags: row.secondTags ?? [],
-        // NOTE: We keep list DTO backward compatible.
-        // If you later want to show tag names in list, we can add e.g. `tagsFlat` or `tagNames` here.
+        sanitizedSecondTags: row.sanitizedSecondTags ?? [],
       })),
     };
   }