mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
Add rejected state to follows
Prevent reprocessing already rejected follows
This commit is contained in:
@@ -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' ])
|
||||
|
||||
Reference in New Issue
Block a user