Upgraded to latest aero version

This commit is contained in:
2019-06-01 13:55:49 +09:00
parent ae591e5e7e
commit 28db818c37
196 changed files with 645 additions and 593 deletions

View File

@ -9,7 +9,7 @@ import (
)
// GroupImage handles the group image upload.
func GroupImage(ctx *aero.Context) string {
func GroupImage(ctx aero.Context) error {
user := utils.GetUser(ctx)
groupID := ctx.Get("id")
@ -44,5 +44,5 @@ func GroupImage(ctx *aero.Context) string {
logEntry := arn.NewEditLogEntry(user.ID, "edit", "Group", group.ID, "Image", "", "")
logEntry.Save()
return "ok"
return nil
}