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

@ -8,7 +8,7 @@ import (
)
// Cover handles the cover image upload.
func Cover(ctx *aero.Context) string {
func Cover(ctx aero.Context) error {
user := utils.GetUser(ctx)
if user == nil {
@ -36,5 +36,5 @@ func Cover(ctx *aero.Context) string {
// Save cover image information
user.Save()
return "ok"
return nil
}