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

@ -10,7 +10,7 @@ import (
)
// CharacterImage handles the character image upload.
func CharacterImage(ctx *aero.Context) string {
func CharacterImage(ctx aero.Context) error {
user := utils.GetUser(ctx)
characterID := ctx.Get("id")
@ -45,5 +45,5 @@ func CharacterImage(ctx *aero.Context) string {
logEntry := arn.NewEditLogEntry(user.ID, "edit", "Character", character.ID, "Image", "", "")
logEntry.Save()
return "ok"
return nil
}