Skip to content

Commit

Permalink
fix: types
Browse files Browse the repository at this point in the history
  • Loading branch information
casperiv0 committed Sep 23, 2023
1 parent f03027a commit be76d5c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/audit-logger/src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export async function createAuditLogEntry<Action extends AuditLogActions>(
const auditLog = await options.prisma.auditLog.create({
data: {
translationKey: options.translationKey,
// @ts-expect-error ignore
action: superjson.serialize(options.action).json ?? null,
executorId: options.executorId,
},
Expand Down

0 comments on commit be76d5c

Please sign in to comment.