Browse Source

Merge pull request #6592 from nocodb/fix/rowId

fix(nocodb): rowId issue after in audit log
pull/6628/head
Raju Udava 11 months ago committed by GitHub
parent
commit
dea6f6ed9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      packages/nocodb/src/db/BaseModelSqlv2.ts

2
packages/nocodb/src/db/BaseModelSqlv2.ts

@ -3458,7 +3458,7 @@ class BaseModelSqlv2 {
}
public async afterDelete(data: any, _trx: any, req): Promise<void> {
const id = req?.params?.id;
const id = this._extractPksValues(data);
await Audit.insert({
fk_model_id: this.model.id,
row_id: id,

Loading…
Cancel
Save