File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed
packages/web/src/ee/features/audit Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -10,17 +10,17 @@ export class AuditService implements IAuditService {
10
10
const sourcebotVersion = process . env . NEXT_PUBLIC_SOURCEBOT_VERSION || 'unknown' ;
11
11
12
12
try {
13
- const audit = await prisma . audit . create ( {
14
- data : {
15
- action : event . action ,
16
- actorId : event . actor . id ,
17
- actorType : event . actor . type ,
18
- targetId : event . target . id ,
19
- targetType : event . target . type ,
20
- sourcebotVersion,
21
- metadata : event . metadata ,
22
- orgId : event . orgId ,
23
- } ,
13
+ const audit = await prisma . audit . create ( {
14
+ data : {
15
+ action : event . action ,
16
+ actorId : event . actor . id ,
17
+ actorType : event . actor . type ,
18
+ targetId : event . target . id ,
19
+ targetType : event . target . type ,
20
+ sourcebotVersion,
21
+ metadata : event . metadata ,
22
+ orgId : event . orgId ,
23
+ } ,
24
24
} ) ;
25
25
26
26
return audit ;
You can’t perform that action at this time.
0 commit comments