mirror of
https://github.com/netbirdio/netbird.git
synced 2025-02-19 03:30:51 +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)
|
resource.FromAPIRequest(&res)
|
||||||
resources = append(resources, resource)
|
resources = append(resources, resource)
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
resources = existingGroup.Resources
|
||||||
}
|
}
|
||||||
|
|
||||||
group := types.Group{
|
group := types.Group{
|
||||||
|
Loading…
Reference in New Issue
Block a user