diff --git a/packages/bsky/src/api/com/atproto/moderation/util.ts b/packages/bsky/src/api/com/atproto/moderation/util.ts index bc0ece2ff9f..2d11376cb4c 100644 --- a/packages/bsky/src/api/com/atproto/moderation/util.ts +++ b/packages/bsky/src/api/com/atproto/moderation/util.ts @@ -15,6 +15,7 @@ import { REVIEWCLOSED, REVIEWESCALATED, REVIEWOPEN, + REVIEWAPPEALED, } from '../../../../lexicon/types/com/atproto/admin/defs' import { ModerationEvent } from '../../../../db/tables/moderation' import { ModerationSubjectStatusRow } from '../../../../services/moderation/types' @@ -64,7 +65,12 @@ export const getReviewState = (reviewState?: string) => { throw new InvalidRequestError('Invalid review state') } -const reviewStates = new Set([REVIEWCLOSED, REVIEWESCALATED, REVIEWOPEN]) +const reviewStates = new Set([ + REVIEWCLOSED, + REVIEWESCALATED, + REVIEWOPEN, + REVIEWAPPEALED, +]) const reasonTypes = new Set([ REASONOTHER,