mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-20 06:31:13 -05:00
Fix remaining logger error
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user