From 1944b46fd472bb59552b5fbf7783168a622a2bd2 Mon Sep 17 00:00:00 2001 From: Jon Date: Thu, 26 Sep 2024 17:30:08 +0100 Subject: [PATCH] fix(Supabase Node): Fix issue with delete not always working (#10952) --- packages/nodes-base/nodes/Supabase/Supabase.node.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nodes-base/nodes/Supabase/Supabase.node.ts b/packages/nodes-base/nodes/Supabase/Supabase.node.ts index d6151b2dc..41b9a3760 100644 --- a/packages/nodes-base/nodes/Supabase/Supabase.node.ts +++ b/packages/nodes-base/nodes/Supabase/Supabase.node.ts @@ -186,8 +186,8 @@ export class Supabase implements INodeType { if (operation === 'delete') { const tableId = this.getNodeParameter('tableId', 0) as string; const filterType = this.getNodeParameter('filterType', 0) as string; - let endpoint = `/${tableId}`; for (let i = 0; i < length; i++) { + let endpoint = `/${tableId}`; if (filterType === 'manual') { const matchType = this.getNodeParameter('matchType', 0) as string; const keys = this.getNodeParameter('filters.conditions', i, []) as IDataObject[];