diff options
Diffstat (limited to 'server/controllers/activitypub')
-rw-r--r-- | server/controllers/activitypub/client.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/controllers/activitypub/client.ts b/server/controllers/activitypub/client.ts index 0d1dff96f..f1217f6db 100644 --- a/server/controllers/activitypub/client.ts +++ b/server/controllers/activitypub/client.ts | |||
@@ -357,7 +357,7 @@ async function actorFollowers (req: express.Request, actor: ActorModel) { | |||
357 | 357 | ||
358 | async function actorPlaylists (req: express.Request, account: AccountModel) { | 358 | async function actorPlaylists (req: express.Request, account: AccountModel) { |
359 | const handler = (start: number, count: number) => { | 359 | const handler = (start: number, count: number) => { |
360 | return VideoPlaylistModel.listUrlsOfForAP(account.id, start, count) | 360 | return VideoPlaylistModel.listPublicUrlsOfForAP(account.id, start, count) |
361 | } | 361 | } |
362 | 362 | ||
363 | return activityPubCollectionPagination(CONFIG.WEBSERVER.URL + req.path, handler, req.query.page) | 363 | return activityPubCollectionPagination(CONFIG.WEBSERVER.URL + req.path, handler, req.query.page) |