backend: Exclude secrets.json from metadata retrieval in recording service

This commit is contained in:
Carlos Santos 2025-04-10 12:27:09 +02:00
parent 4c5f53261c
commit 85e65d76b3

View File

@ -267,7 +267,7 @@ export class RecordingService {
const promises: Promise<MeetRecordingInfo>[] = [];
// Retrieve the metadata for each recording
Contents.forEach((item) => {
if (item?.Key && item.Key.endsWith('.json')) {
if (item?.Key && item.Key.endsWith('.json') && !item.Key.endsWith('secrets.json')) {
promises.push(this.s3Service.getObjectAsJson(item.Key) as Promise<MeetRecordingInfo>);
}
});