👌 Applied review changes

This commit is contained in:
Scott
2018-02-24 13:11:12 +01:00
parent 9653da7ba0
commit b234877a12
8 changed files with 14 additions and 17 deletions

View File

@ -9,7 +9,7 @@ import (
"github.com/animenotifier/notify.moe/utils"
)
// Get company.
// Get quote.
func Get(ctx *aero.Context) string {
user := utils.GetUser(ctx)
id := ctx.Get("id")
@ -19,7 +19,7 @@ func Get(ctx *aero.Context) string {
return ctx.Error(http.StatusNotFound, "Quote not found", err)
}
character, err := arn.GetCharacter(quote.CharacterId)
character, err := arn.GetCharacter(quote.CharacterID)
if err != nil {
return ctx.Error(http.StatusNotFound, "Quote not found", err)
}