Added more API examples

This commit is contained in:
2018-03-28 01:59:14 +02:00
parent c5de0c6d6f
commit bf6a28faca
9 changed files with 69 additions and 43 deletions

View File

@ -19,7 +19,7 @@ func Get(ctx *aero.Context) string {
return ctx.Error(http.StatusUnauthorized, "Not logged in", nil)
}
items, err := arn.AllItems()
items, err := arn.AllShopItems()
if err != nil {
return ctx.Error(http.StatusInternalServerError, "Error fetching shop item data", err)