diff options
author | FChannel <> | 2022-05-07 15:11:35 -0700 |
---|---|---|
committer | FChannel <> | 2022-06-19 12:53:29 -0700 |
commit | 3c5eebf6275e6d202f8a7b7f027aabcda5c1f332 (patch) | |
tree | 5fa2d82f9375ac49be357f0f8b70db06d5c97305 /routes/admin.go | |
parent | 39012c6b17073f6933a5ead8beed64df555f7348 (diff) |
more organizing structs to have object functions
need to fully test to be sure nothing broke with changes
Diffstat (limited to 'routes/admin.go')
-rw-r--r-- | routes/admin.go | 2 |
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 |