feat: add auditlogs for account model (#7511)

This commit is contained in:
Vishnu Narayanan
2023-07-19 23:52:34 +05:30
committed by GitHub
parent 1d718b92b7
commit ea825d49da
6 changed files with 21 additions and 6 deletions

View File

@@ -30,6 +30,7 @@ const translationKeys = {
'accountuser:create': `AUDIT_LOGS.ACCOUNT_USER.ADD`,
'accountuser:update:self': `AUDIT_LOGS.ACCOUNT_USER.EDIT.SELF`,
'accountuser:update:other': `AUDIT_LOGS.ACCOUNT_USER.EDIT.OTHER`,
'account:update': `AUDIT_LOGS.ACCOUNT.EDIT`,
};
function extractAttrChange(attrChange) {