Browse Source

fix: update hook list after deleting webhook (#1044)

* fix: update hook list after deleting webhook

Signed-off-by: Wing-Kam Wong <wingkwong.code@gmail.com>

* refactor: combine tableXcHooksSet & tableXcHooksDelete

Signed-off-by: Wing-Kam Wong <wingkwong.code@gmail.com>
pull/1052/head
աɨռɢӄաօռɢ 3 years ago committed by GitHub
parent
commit
ab2f086d27
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      packages/nocodb/src/lib/noco/NcProjectBuilder.ts

1
packages/nocodb/src/lib/noco/NcProjectBuilder.ts

@ -304,6 +304,7 @@ export default class NcProjectBuilder {
break;
case 'tableXcHooksSet':
case 'tableXcHooksDelete':
await curBuilder.onHooksUpdate(data.req.args.tn);
console.log(`Updated validations for table : ${data.req.args.tn}`);
break;

Loading…
Cancel
Save