mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
fix(Supabase Node): Fix issue with delete not always working (#10952)
This commit is contained in:
@@ -186,8 +186,8 @@ export class Supabase implements INodeType {
|
|||||||
if (operation === 'delete') {
|
if (operation === 'delete') {
|
||||||
const tableId = this.getNodeParameter('tableId', 0) as string;
|
const tableId = this.getNodeParameter('tableId', 0) as string;
|
||||||
const filterType = this.getNodeParameter('filterType', 0) as string;
|
const filterType = this.getNodeParameter('filterType', 0) as string;
|
||||||
let endpoint = `/${tableId}`;
|
|
||||||
for (let i = 0; i < length; i++) {
|
for (let i = 0; i < length; i++) {
|
||||||
|
let endpoint = `/${tableId}`;
|
||||||
if (filterType === 'manual') {
|
if (filterType === 'manual') {
|
||||||
const matchType = this.getNodeParameter('matchType', 0) as string;
|
const matchType = this.getNodeParameter('matchType', 0) as string;
|
||||||
const keys = this.getNodeParameter('filters.conditions', i, []) as IDataObject[];
|
const keys = this.getNodeParameter('filters.conditions', i, []) as IDataObject[];
|
||||||
|
|||||||
Reference in New Issue
Block a user