This commit is contained in:
2017-10-02 06:29:58 +02:00
parent 4e5472260d
commit 93ed7378ae
9 changed files with 18 additions and 7 deletions

View File

@ -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() {