]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - shared/server-commands/server/follows-command.ts
feat: show contained playlists under My videos (#5125)
[github/Chocobozzz/PeerTube.git] / shared / server-commands / server / follows-command.ts
index 01ef6f179f4186ab0afb5bd3fd4960e78ba4e682..496e11df178eac5fdcec44fd76a5b7d23fb5d483 100644 (file)
@@ -6,13 +6,13 @@ import { PeerTubeServer } from './server'
 export class FollowsCommand extends AbstractCommand {
 
   getFollowers (options: OverrideCommandOptions & {
-    start: number
-    count: number
-    sort: string
+    start?: number
+    count?: number
+    sort?: string
     search?: string
     actorType?: ActivityPubActorType
     state?: FollowState
-  }) {
+  } = {}) {
     const path = '/api/v1/server/followers'
 
     const query = pick(options, [ 'start', 'count', 'sort', 'search', 'state', 'actorType' ])