diff options
Diffstat (limited to 'shared/server-commands')
-rw-r--r-- | shared/server-commands/server/follows-command.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/shared/server-commands/server/follows-command.ts b/shared/server-commands/server/follows-command.ts index 01ef6f179..496e11df1 100644 --- a/shared/server-commands/server/follows-command.ts +++ b/shared/server-commands/server/follows-command.ts | |||
@@ -6,13 +6,13 @@ import { PeerTubeServer } from './server' | |||
6 | export class FollowsCommand extends AbstractCommand { | 6 | export class FollowsCommand extends AbstractCommand { |
7 | 7 | ||
8 | getFollowers (options: OverrideCommandOptions & { | 8 | getFollowers (options: OverrideCommandOptions & { |
9 | start: number | 9 | start?: number |
10 | count: number | 10 | count?: number |
11 | sort: string | 11 | sort?: string |
12 | search?: string | 12 | search?: string |
13 | actorType?: ActivityPubActorType | 13 | actorType?: ActivityPubActorType |
14 | state?: FollowState | 14 | state?: FollowState |
15 | }) { | 15 | } = {}) { |
16 | const path = '/api/v1/server/followers' | 16 | const path = '/api/v1/server/followers' |
17 | 17 | ||
18 | const query = pick(options, [ 'start', 'count', 'sort', 'search', 'state', 'actorType' ]) | 18 | const query = pick(options, [ 'start', 'count', 'sort', 'search', 'state', 'actorType' ]) |