Skip to content

Commit

Permalink
skip audit log
Browse files Browse the repository at this point in the history
  • Loading branch information
SupertigerDev committed Dec 31, 2024
1 parent a2fb591 commit 1bb81ec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/routes/moderation/serverDelete.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ async function route(req: Request<Params, unknown, Body>, res: Response) {
userIds: [server.createdById],
reason: `${server.name} deleted: ` + req.body.reason,
modUserId: req.userCache.id,
skipAuditLog: true,
});

await prisma.modAuditLog.create({
Expand Down

0 comments on commit 1bb81ec

Please sign in to comment.