Cleanup
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
package dashboard
|
||||
|
||||
import (
|
||||
"net/http"
|
||||
"sort"
|
||||
|
||||
"github.com/aerogo/aero"
|
||||
@ -24,6 +25,10 @@ func Get(ctx *aero.Context) string {
|
||||
|
||||
user := utils.GetUser(ctx)
|
||||
|
||||
if user == nil {
|
||||
return ctx.Error(http.StatusUnauthorized, "Not logged in", nil)
|
||||
}
|
||||
|
||||
flow.Parallel(func() {
|
||||
forumActivity, _ = arn.GetForumActivityCached()
|
||||
}, func() {
|
||||
|
Reference in New Issue
Block a user