From 1f8acd92a2b9eb59444e9884f5306246304a52b2 Mon Sep 17 00:00:00 2001 From: Paul Frazee Date: Wed, 13 Mar 2024 14:27:03 -0700 Subject: [PATCH] Fix: send appeals to the right labeler --- src/components/moderation/LabelsOnMeDialog.tsx | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/src/components/moderation/LabelsOnMeDialog.tsx b/src/components/moderation/LabelsOnMeDialog.tsx index bd9113eeb5..6eddbc7ceb 100644 --- a/src/components/moderation/LabelsOnMeDialog.tsx +++ b/src/components/moderation/LabelsOnMeDialog.tsx @@ -180,14 +180,16 @@ function AppealForm({ const $type = !isAccountReport ? 'com.atproto.repo.strongRef' : 'com.atproto.admin.defs#repoRef' - await getAgent().createModerationReport({ - reasonType: ComAtprotoModerationDefs.REASONAPPEAL, - subject: { - $type, - ...subject, - }, - reason: details, - }) + await getAgent() + .withProxy('atproto_labeler', label.src) + .createModerationReport({ + reasonType: ComAtprotoModerationDefs.REASONAPPEAL, + subject: { + $type, + ...subject, + }, + reason: details, + }) Toast.show(_(msg`Appeal submitted.`)) } finally { control.close()