mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-13 16:14:07 -08:00
fix(Supabase Node): Fix issue with delete not always working (#10952)
Some checks are pending
Test Master / install-and-build (push) Waiting to run
Test Master / Unit tests (18.x) (push) Blocked by required conditions
Test Master / Unit tests (20.x) (push) Blocked by required conditions
Test Master / Unit tests (22.4) (push) Blocked by required conditions
Test Master / Lint (push) Blocked by required conditions
Test Master / Notify Slack on failure (push) Blocked by required conditions
Benchmark Docker Image CI / build (push) Waiting to run
Some checks are pending
Test Master / install-and-build (push) Waiting to run
Test Master / Unit tests (18.x) (push) Blocked by required conditions
Test Master / Unit tests (20.x) (push) Blocked by required conditions
Test Master / Unit tests (22.4) (push) Blocked by required conditions
Test Master / Lint (push) Blocked by required conditions
Test Master / Notify Slack on failure (push) Blocked by required conditions
Benchmark Docker Image CI / build (push) Waiting to run
This commit is contained in:
parent
79622b5f26
commit
1944b46fd4
|
@ -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[];
|
||||
|
|
Loading…
Reference in a new issue