Browse Source

fix(nocodb): replace notification

pull/5168/head
Wing-Kam Wong 2 years ago
parent
commit
a5ad94704f
  1. 2
      packages/nocodb/src/lib/models/Hook.ts

2
packages/nocodb/src/lib/models/Hook.ts

@ -230,6 +230,8 @@ export default class Hook implements HookType {
if (o) { if (o) {
// update data // update data
o = { ...o, ...updateObj }; o = { ...o, ...updateObj };
// replace notification
o.notification = updateObj.notification;
// set cache // set cache
await NocoCache.set(key, o); await NocoCache.set(key, o);
} }

Loading…
Cancel
Save