mirror of
https://github.com/netbirdio/netbird.git
synced 2025-02-10 07:19:53 +01:00
use existing resources if undefined
This commit is contained in:
parent
b3c87cb5d1
commit
190708ba22
@ -137,6 +137,8 @@ func (h *handler) updateGroup(w http.ResponseWriter, r *http.Request) {
|
||||
resource.FromAPIRequest(&res)
|
||||
resources = append(resources, resource)
|
||||
}
|
||||
} else {
|
||||
resources = existingGroup.Resources
|
||||
}
|
||||
|
||||
group := types.Group{
|
||||
|
Loading…
Reference in New Issue
Block a user