mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-20 12:31:26 -05:00
Fix duplicate variable declaration
This commit is contained in:
@@ -692,7 +692,7 @@ serve(withRateLimit(async (req) => {
|
||||
}
|
||||
|
||||
// ✅ CLEANUP: Delete temporary references for approved items
|
||||
const approvedItemIds = approvalResults.filter(r => r.success).map(r => r.itemId);
|
||||
// Reuse approvedItemIds from line 663 - already computed
|
||||
if (approvedItemIds.length > 0) {
|
||||
try {
|
||||
const { error: cleanupError } = await supabase
|
||||
|
||||
Reference in New Issue
Block a user