diff --git a/src/lib/submissionChangeDetection.ts b/src/lib/submissionChangeDetection.ts index 9159225d..d762e19a 100644 --- a/src/lib/submissionChangeDetection.ts +++ b/src/lib/submissionChangeDetection.ts @@ -348,16 +348,6 @@ export async function detectChanges( }); } } - - // Add debugging warning if critical data is missing - if (!itemData.entity_name && item.item_type === 'photo_delete') { - logger.warn('[Photo Delete] Missing entity_name for photo_delete item', { - item_type: item.item_type, - has_entity_type: !!itemData.entity_type, - has_entity_id: !!itemData.entity_id, - has_cloudflare_url: !!itemData.cloudflare_image_url - }); - } } else if (item.item_type === 'milestone') { // Milestone submissions reference entity_id and entity_type // Need to fetch the entity name from the database