aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/helpers
diff options
context:
space:
mode:
Diffstat (limited to 'server/helpers')
-rw-r--r--server/helpers/custom-validators/follows.ts2
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'
4function isFollowStateValid (value: FollowState) { 4function 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
10function isRemoteHandleValid (value: string) { 10function isRemoteHandleValid (value: string) {