mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-20 13:11:12 -05:00
Fix remaining compliance violations
This commit is contained in:
@@ -1137,7 +1137,7 @@ export async function rejectSubmissionItems(
|
||||
.eq('id', itemId);
|
||||
|
||||
if (error) {
|
||||
console.error(`Error rejecting item ${itemId}:`, error);
|
||||
logger.error('Error rejecting item', { error, itemId });
|
||||
throw error;
|
||||
}
|
||||
});
|
||||
@@ -1171,7 +1171,7 @@ async function updateSubmissionStatusAfterRejection(submissionId: string): Promi
|
||||
.eq('submission_id', submissionId);
|
||||
|
||||
if (fetchError) {
|
||||
console.error('Error fetching submission items:', fetchError);
|
||||
logger.error('Error fetching submission items', { error: fetchError, submissionId });
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -1202,7 +1202,7 @@ async function updateSubmissionStatusAfterRejection(submissionId: string): Promi
|
||||
.eq('id', submissionId);
|
||||
|
||||
if (updateError) {
|
||||
console.error('Error updating submission status:', updateError);
|
||||
logger.error('Error updating submission status', { error: updateError, submissionId });
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user