locale &update handling
This commit is contained in:
@@ -46,8 +46,8 @@ func HandleUserUpdateError(c *gin.Context, err error) {
|
||||
case errors.ErrSubscriptionNotFound:
|
||||
RespondWithError(c, err, "Couldn't find subscription", http.StatusNotFound, errors.Responses.Fields.SubscriptionModel, errors.Responses.Keys.NotFound)
|
||||
default:
|
||||
RespondWithError(c, err, "Couldn't update user", http.StatusInternalServerError, errors.Responses.Fields.User, errors.Responses.Keys.InternalServerError)
|
||||
}
|
||||
RespondWithError(c, err, "Couldn't update user", http.StatusInternalServerError, errors.Responses.Fields.User, errors.Responses.Keys.InternalServerError)
|
||||
}
|
||||
|
||||
func HandleSubscriptionDeleteError(c *gin.Context, err error) {
|
||||
|
||||
Reference in New Issue
Block a user