Skip to content

Commit

Permalink
Merge branch 'ozone-acls-take2' into pds-proxy-headers
Browse files Browse the repository at this point in the history
  • Loading branch information
dholms committed Mar 5, 2024
2 parents ccfc4d9 + 8341c7a commit 207e208
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/pds/src/api/com/atproto/admin/sendEmail.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { resultPassthru } from '../../../proxy'

export default function (server: Server, ctx: AppContext) {
server.com.atproto.admin.sendEmail({
auth: ctx.authVerifier.roleOrAdminService,
auth: ctx.authVerifier.roleOrModService,
handler: async ({ input, auth }) => {
if (auth.credentials.type === 'role' && !auth.credentials.moderator) {
throw new AuthRequiredError('Insufficient privileges')
Expand Down

0 comments on commit 207e208

Please sign in to comment.