mirror of
https://github.com/nocodb/nocodb.git
synced 2026-04-29 21:26:56 +00:00
create api logs for apis as well
Signed-off-by: Vijay Kumar Rathore <professional.vijay8492@gmail.com>
This commit is contained in:
@@ -70,14 +70,6 @@ export default class RestApi {
|
||||
url: `/nc/${this.$ctx.projectId}/api/v1/${this.table}/${encodeURIComponent(id)}`,
|
||||
data
|
||||
})
|
||||
const colName = Object.keys(data)[0]
|
||||
this.$ctx.$store.dispatch('sqlMgr/ActSqlOp', [{ dbAlias: this.$ctx.dbAlias }, 'xcAuditCreate', {
|
||||
tn: this.table,
|
||||
cn: colName,
|
||||
pk: id,
|
||||
value: data[colName],
|
||||
prevValue: oldData[colName]
|
||||
}])
|
||||
|
||||
return res.data
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user