X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Flib%2Fmoderation.ts;h=b140d5aa9ad054105a7433060c0b850af4f09ae0;hb=edbc9325462ddf4536775871ebc25e06f46612d1;hp=4fc9cd747609a22d0d612caafc8e6c1fb944b566;hpb=17aa80ed016bafa3ccb071af3f86054033823284;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/lib/moderation.ts b/server/lib/moderation.ts index 4fc9cd747..b140d5aa9 100644 --- a/server/lib/moderation.ts +++ b/server/lib/moderation.ts @@ -213,7 +213,7 @@ async function createAbuse (options: { await sendAbuse(reporterAccount.Actor, abuseInstance, abuseInstance.FlaggedAccount, transaction) } - const abuseJSON = abuseInstance.toFormattedJSON() + const abuseJSON = abuseInstance.toFormattedAdminJSON() auditLogger.create(reporterAccount.Actor.getIdentifier(), new AbuseAuditView(abuseJSON)) Notifier.Instance.notifyOnNewAbuse({