diff options
Diffstat (limited to 'server/helpers')
-rw-r--r-- | server/helpers/custom-validators/follows.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/helpers/custom-validators/follows.ts b/server/helpers/custom-validators/follows.ts index 8f65552c3..0bec683c1 100644 --- a/server/helpers/custom-validators/follows.ts +++ b/server/helpers/custom-validators/follows.ts | |||
@@ -4,7 +4,7 @@ import { FollowState } from '@shared/models' | |||
4 | function isFollowStateValid (value: FollowState) { | 4 | function isFollowStateValid (value: FollowState) { |
5 | if (!exists(value)) return false | 5 | if (!exists(value)) return false |
6 | 6 | ||
7 | return value === 'pending' || value === 'accepted' | 7 | return value === 'pending' || value === 'accepted' || value === 'rejected' |
8 | } | 8 | } |
9 | 9 | ||
10 | function isRemoteHandleValid (value: string) { | 10 | function isRemoteHandleValid (value: string) { |