change error to bad request for update external IC

This commit is contained in:
Sonja Happ 2021-02-26 14:49:27 +01:00
parent 071a5adb4a
commit ba91fad2d7

View file

@ -150,7 +150,7 @@ func updateIC(c *gin.Context) {
}
if oldIC.ManagedExternally {
helper.ForbiddenError(c, "Cannot update externally managed component via API")
helper.BadRequestError(c, "Cannot update externally managed component via API")
return
}