Skip to content

Commit

Permalink
fix: ts error
Browse files Browse the repository at this point in the history
  • Loading branch information
dstala committed Dec 16, 2023
1 parent 7b20992 commit b093aa9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/nocodb/src/helpers/webhookHelpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -305,14 +305,14 @@ export async function invokeWebhook(
const filteredData = [];
for (let i = 0; i < newData.length; i++) {
const data = newData[i];
const prevData = prevData ? prevData[i] : null;
const pData = prevData[i] ? prevData[i] : null;

// if condition is satisfied for prevData then return
if (
prevData &&
pData &&
(await validateCondition(
testFilters || (await hook.getFilters()),
prevData,
pData,
))
) {
continue;
Expand Down

1 comment on commit b093aa9

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR changes have been deployed. Please run the following command to verify:

docker run -d -p 8888:8080 nocodb/nocodb-timely:0.202.10-pr-7246-20231216-0525

Please sign in to comment.