File tree Expand file tree Collapse file tree 3 files changed +15
-0
lines changed
__tests__/acceptance/fixtures/models Expand file tree Collapse file tree 3 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -54,6 +54,13 @@ export class TestAuditLog extends Entity {
5454 } )
5555 actor : string ;
5656
57+ @property ( {
58+ name : 'tenant_id' ,
59+ type : 'string' ,
60+ required : true ,
61+ } )
62+ tenantId : string ;
63+
5764 @property ( {
5865 type : 'object' ,
5966 } )
Original file line number Diff line number Diff line change @@ -59,6 +59,7 @@ export function AuditRepositoryMixin<
5959 entityId : entity . getId ( ) ,
6060 actedOn : this . entityClass . modelName ,
6161 actionKey : opts . actionKey ,
62+ tenantId : user . tenantId ,
6263 ...extras ,
6364 } ) ;
6465 }
Original file line number Diff line number Diff line change @@ -62,6 +62,13 @@ export class AuditLog extends Entity {
6262 } )
6363 actor : string ;
6464
65+ @property ( {
66+ name : 'tenant_id' ,
67+ type : 'string' ,
68+ required : true ,
69+ } )
70+ tenantId : string ;
71+
6572 @property ( {
6673 type : 'object' ,
6774 } )
You can’t perform that action at this time.
0 commit comments