mirror of
https://github.com/goharbor/harbor.git
synced 2025-02-17 04:11:24 +01:00
change code for travis ci
This commit is contained in:
parent
8459fcf7dc
commit
fbb26634a7
@ -149,7 +149,7 @@ func (ua *UserAPI) Put() {
|
||||
}
|
||||
user := models.User{UserID: ua.userID}
|
||||
ua.DecodeJSONReq(&user)
|
||||
err = commonValidate(user)
|
||||
err := commonValidate(user)
|
||||
if err != nil {
|
||||
log.Warning("Bad request in change user profile: %v", err)
|
||||
ua.RenderError(http.StatusBadRequest, "change user profile error:"+err.Error())
|
||||
|
Loading…
Reference in New Issue
Block a user