Improved error logging
This commit is contained in:
@ -20,7 +20,7 @@ func Success(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")
|
||||
}
|
||||
|
||||
paymentID := ctx.Query("paymentId")
|
||||
|
Reference in New Issue
Block a user