mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-22 19:51:12 -05:00
Refactor: Implement photo upload plan
This commit is contained in:
@@ -207,6 +207,15 @@ export function UppyPhotoSubmissionUpload({
|
||||
},
|
||||
};
|
||||
|
||||
// Debug logging for verification
|
||||
console.log('Photo Submission Data:', {
|
||||
entity_id: finalEntityId,
|
||||
context: finalEntityType,
|
||||
parent_id: finalParentId,
|
||||
photo_count: photos.length,
|
||||
submission_data: submissionData
|
||||
});
|
||||
|
||||
const { error } = await supabase
|
||||
.from('content_submissions')
|
||||
.insert(submissionData);
|
||||
|
||||
Reference in New Issue
Block a user