mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-20 11:51:14 -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
|
// ✅ 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) {
|
if (approvedItemIds.length > 0) {
|
||||||
try {
|
try {
|
||||||
const { error: cleanupError } = await supabase
|
const { error: cleanupError } = await supabase
|
||||||
|
|||||||
Reference in New Issue
Block a user