fix(s3): updating clean all files in s3

This commit is contained in:
JamesFlare1212
2026-04-07 22:45:10 -04:00
parent ea9e9ec121
commit bbbd59be94

View File

@@ -299,9 +299,7 @@ export async function cleanupOrphanedS3Images(): Promise<void> {
if (activityData && if (activityData &&
typeof activityData.photo === 'string' && typeof activityData.photo === 'string' &&
activityData.photo.startsWith('http') && activityData.photo.startsWith('http')) {
S3_ENDPOINT &&
activityData.photo.startsWith(S3_ENDPOINT)) {
referencedS3Urls.add(activityData.photo); referencedS3Urls.add(activityData.photo);
} }
} }