aboutsummaryrefslogtreecommitdiff
path: root/routes/admin.go
diff options
context:
space:
mode:
Diffstat (limited to 'routes/admin.go')
-rw-r--r--routes/admin.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routes/admin.go b/routes/admin.go
index ea27792..f8f55eb 100644
--- a/routes/admin.go
+++ b/routes/admin.go
@@ -318,7 +318,7 @@ func AdminActorIndex(ctx *fiber.Ctx) error {
data.Themes = &config.Themes
- data.RecentPosts = activitypub.GetRecentPostsDB(actor.Id)
+ data.RecentPosts, _ = actor.GetRecentPosts()
if cookie := ctx.Cookies("theme"); cookie != "" {
data.ThemeCookie = cookie