[skip ci] rename stat titles to match dashboard

This commit is contained in:
Brahim Hadriche committed 2025-06-01 07:59:45 -04:00
1 parent 47896ae9dc
commit cfd6bc8ec8
1 file changed
+9 -9
+9 -9
View File
@@ -165,29 +165,29 @@ imap.once('ready', async () => {
const images = [] const images = []
images.push({ images.push({
title: 'Channel Health', title: 'App Health',
filename: await getAttachementAsync('bdp_noreply@data.roku.com', 'Channel Health', yesterdayString) filename: await getAttachementAsync('bdp_noreply@data.roku.com', 'App Health', yesterdayString)
}) })
images.push({ images.push({
title: 'Channel Engagement', title: 'App Engagement',
filename: await getAttachementAsync('bdp_noreply@data.roku.com', 'Channel Engagement', yesterdayString) filename: await getAttachementAsync('bdp_noreply@data.roku.com', 'App Engagement', yesterdayString)
}) })
images.push({ images.push({
title: 'Viewership Summary', title: 'Viewership Summary',
filename: await getAttachementAsync('bdp_noreply@data.roku.com', 'Viewership Summary', yesterdayString) filename: await getAttachementAsync('bdp_noreply@data.roku.com', 'Viewership Summary', yesterdayString)
}) })
images.push({ images.push({
title: 'Channel Stability', title: 'App Stability',
filename: await getAttachementAsync('bdp_noreply@data.roku.com', 'Channel Stability', yesterdayString) filename: await getAttachementAsync('bdp_noreply@data.roku.com', 'App Stability', yesterdayString)
}) })
writeMarkDownFile(images); writeMarkDownFile(images);
// TODO:P0 deleting emails hangs the process, so it's disabled for now // TODO:P0 deleting emails hangs the process, so it's disabled for now
// await moveToTrash('bdp_noreply@data.roku.com', 'Channel Health', yesterdayString); // await moveToTrash('bdp_noreply@data.roku.com', 'App Health', yesterdayString);
// await moveToTrash('bdp_noreply@data.roku.com', 'Channel Engagement', yesterdayString); // await moveToTrash('bdp_noreply@data.roku.com', 'App Engagement', yesterdayString);
// await moveToTrash('bdp_noreply@data.roku.com', 'Viewership Summary', yesterdayString); // await moveToTrash('bdp_noreply@data.roku.com', 'Viewership Summary', yesterdayString);
// await moveToTrash('bdp_noreply@data.roku.com', 'Channel Stability', yesterdayString); // await moveToTrash('bdp_noreply@data.roku.com', 'App Stability', yesterdayString);
imap.end(); imap.end();
} catch (error) { } catch (error) {