locale &update handling

This commit is contained in:
Alex
2025-03-01 15:29:34 +01:00
parent c28354ed2d
commit ac0b7234d4
4 changed files with 13 additions and 13 deletions

View File

@@ -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) {