mirror of
https://git.rwth-aachen.de/acs/public/villas/web-backend-go/
synced 2025-03-30 00:00:12 +01:00
change error to bad request for update external IC
This commit is contained in:
parent
071a5adb4a
commit
ba91fad2d7
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue