Fix: send appeals to the right labeler
This commit is contained in:
@@ -180,14 +180,16 @@ function AppealForm({
|
|||||||
const $type = !isAccountReport
|
const $type = !isAccountReport
|
||||||
? 'com.atproto.repo.strongRef'
|
? 'com.atproto.repo.strongRef'
|
||||||
: 'com.atproto.admin.defs#repoRef'
|
: 'com.atproto.admin.defs#repoRef'
|
||||||
await getAgent().createModerationReport({
|
await getAgent()
|
||||||
reasonType: ComAtprotoModerationDefs.REASONAPPEAL,
|
.withProxy('atproto_labeler', label.src)
|
||||||
subject: {
|
.createModerationReport({
|
||||||
$type,
|
reasonType: ComAtprotoModerationDefs.REASONAPPEAL,
|
||||||
...subject,
|
subject: {
|
||||||
},
|
$type,
|
||||||
reason: details,
|
...subject,
|
||||||
})
|
},
|
||||||
|
reason: details,
|
||||||
|
})
|
||||||
Toast.show(_(msg`Appeal submitted.`))
|
Toast.show(_(msg`Appeal submitted.`))
|
||||||
} finally {
|
} finally {
|
||||||
control.close()
|
control.close()
|
||||||
|
|||||||
Reference in New Issue
Block a user