Improved error logging
This commit is contained in:
@ -15,7 +15,7 @@ func PurchaseHistory(ctx *aero.Context) string {
|
||||
user := utils.GetUser(ctx)
|
||||
|
||||
if user == nil {
|
||||
return ctx.Error(http.StatusUnauthorized, "Not logged in", nil)
|
||||
return ctx.Error(http.StatusUnauthorized, "Not logged in")
|
||||
}
|
||||
|
||||
purchases, err := arn.FilterPurchases(func(purchase *arn.Purchase) bool {
|
||||
|
Reference in New Issue
Block a user