New report type, appeal (#2455)

This commit is contained in:
Foysal Ahamed 2024-01-11 08:16:45 +01:00 committed by GitHub
parent 17f7c36edf
commit 3662259c5b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -38,7 +38,7 @@ export function Component(props: ReportComponentProps) {
? 'com.atproto.repo.strongRef' ? 'com.atproto.repo.strongRef'
: 'com.atproto.admin.defs#repoRef' : 'com.atproto.admin.defs#repoRef'
await getAgent().createModerationReport({ await getAgent().createModerationReport({
reasonType: ComAtprotoModerationDefs.REASONOTHER, reasonType: ComAtprotoModerationDefs.REASONAPPEAL,
subject: { subject: {
$type, $type,
...props, ...props,