Browse Source

fix: webhook payload corrections

pull/9827/head
Pranav C 1 month ago
parent
commit
a93fa3e678
  1. 2
      packages/nocodb/src/helpers/populateSamplePayload.ts
  2. 2
      packages/nocodb/src/services/hooks.service.ts

2
packages/nocodb/src/helpers/populateSamplePayload.ts

@ -77,8 +77,6 @@ export async function populateSamplePayloadV2(
data: {
table_id: model.id,
table_name: model.title,
view_id: model.views[0].id,
view_name: model.views[0].title,
},
};

2
packages/nocodb/src/services/hooks.service.ts

@ -225,7 +225,7 @@ export class HooksService {
model: model,
view: null,
prevData: null,
newData: data,
newData: data.rows,
user: user,
testFilters: (hook as any)?.filters,
throwErrorOnFailure: true,

Loading…
Cancel
Save