Browse Source

fix(nocodb): incorrect hook handle name

pull/5349/head
Wing-Kam Wong 2 years ago
parent
commit
8ef97ed04b
  1. 2
      packages/nocodb/src/lib/db/sql-data-mapper/lib/sql/BaseModelSqlv2.ts

2
packages/nocodb/src/lib/db/sql-data-mapper/lib/sql/BaseModelSqlv2.ts

@ -2208,7 +2208,7 @@ class BaseModelSqlv2 {
}
public async afterBulkInsert(data: any[], _trx: any, req): Promise<void> {
await this.handleHooks('after.insert.bulk', null, data, req);
await this.handleHooks('after.bulkInsert', null, data, req);
await Audit.insert({
fk_model_id: this.model.id,

Loading…
Cancel
Save