mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 02:39:33 +02:00
Add rejected state to follows
Prevent reprocessing already rejected follows
This commit is contained in:
parent
0f58b11f5c
commit
927fa4b11f
12 changed files with 266 additions and 54 deletions
|
@ -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' ])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue