diff --git a/packages/pds/src/api/com/atproto/admin/sendEmail.ts b/packages/pds/src/api/com/atproto/admin/sendEmail.ts index c632e87ce59..169eaf4e6e2 100644 --- a/packages/pds/src/api/com/atproto/admin/sendEmail.ts +++ b/packages/pds/src/api/com/atproto/admin/sendEmail.ts @@ -40,7 +40,7 @@ export default function (server: Server, ctx: AppContext) { { content }, { subject, to: account.email }, ) - await ctx.appViewAgent.api.com.atproto.admin.emitModerationEvent( + await ctx.moderationAgent.api.com.atproto.admin.emitModerationEvent( { event: { $type: 'com.atproto.admin.defs#modEventEmail',