Updated dashboard to use latest ARN API
This commit is contained in:
parent
2c67ddad95
commit
d55775763e
@ -19,7 +19,7 @@ func Get(ctx *aero.Context) string {
|
||||
return frontpage.Get(ctx)
|
||||
}
|
||||
|
||||
posts, err := arn.GetPosts()
|
||||
posts, err := arn.AllPostsSlice()
|
||||
|
||||
if err != nil {
|
||||
return ctx.Error(500, "Error fetching posts", err)
|
||||
|
Loading…
Reference in New Issue
Block a user