Added isAuditLogged column to object-metadata-entity (#4898)

Added isAuditLogged column to object-metadata-entity.ts

This is my first open source pull request. Please do let me know if made
any mistake. I will be greatfull. Thank u

---------

Co-authored-by: Félix Malfait <felix@twenty.com>
Co-authored-by: Félix Malfait <felix.malfait@gmail.com>
This commit is contained in:
Jeet Chawda
2024-04-12 18:58:07 +05:30
committed by GitHub
parent f4fda221b7
commit 280229bad6
9 changed files with 36 additions and 1 deletions

View File

@ -49,7 +49,7 @@ export class EntityEventsToDbListener {
payload: ObjectRecordCreateEvent<any>,
operation: string,
) {
if (payload.objectMetadata.isSystem) {
if (!payload.objectMetadata.isAuditLogged) {
return;
}