Merge branch 'netbirdio:main' into main

This commit is contained in:
İsmail
2024-11-11 14:23:18 +03:00
committed by GitHub
6 changed files with 115 additions and 86 deletions
+1 -1
View File
@@ -149,7 +149,7 @@ func (h *RoutesHandler) validateRoute(req api.PostApiRoutesJSONRequestBody) erro
}
if req.Peer == nil && req.PeerGroups == nil {
return status.Errorf(status.InvalidArgument, "either 'peer' or 'peers_group' should be provided")
return status.Errorf(status.InvalidArgument, "either 'peer' or 'peer_groups' should be provided")
}
if req.Peer != nil && req.PeerGroups != nil {