From 69544c1ef8a74e4ab3b666bcaad383153b3205aa Mon Sep 17 00:00:00 2001 From: Jonathan Bennetts Date: Tue, 24 Sep 2024 13:56:20 +0100 Subject: [PATCH] fix(Supabase Node): Fix issue with delete not always working --- 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 d6151b2dca0c1..41b9a3760a629 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[];