From 45324e169f21f94f46b1f4ab6b9217b317f5e1ae Mon Sep 17 00:00:00 2001 From: Gusted Date: Mon, 22 Aug 2022 19:50:47 +0200 Subject: [PATCH] Add todo --- routers/api/v1/activitypub/person.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/routers/api/v1/activitypub/person.go b/routers/api/v1/activitypub/person.go index 7928a80744..73b856f3b7 100644 --- a/routers/api/v1/activitypub/person.go +++ b/routers/api/v1/activitypub/person.go @@ -208,6 +208,8 @@ func PersonOutbox(ctx *context.APIContext) { } } + // TODO: Remove this code and implement an ActionStarRepo type, so `GetFeeds` + // can handle this with correct pagination and ordering. stars, err := repo_model.GetStarredRepos(ctx.ContextUser.ID, false, db.ListOptions{Page: 1, PageSize: 1000000}) if err != nil { ctx.ServerError("Couldn't fetch stars", err)