Browse Source

refactor(nocodb): updateObj.notification

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

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

@ -218,10 +218,8 @@ export default class Hook implements HookType {
| 'update';
}
if (updateObj.notification) {
updateObj.notification && typeof updateObj.notification === 'object'
? JSON.stringify(updateObj.notification)
: updateObj.notification;
if (updateObj.notification && typeof updateObj.notification === 'object') {
uupdateObj.notification = JSON.stringify(updateObj.notification);
}
// get existing cache

Loading…
Cancel
Save