refactor(api): remove Ratio field from NodeConfig and related structures

This commit is contained in:
Chang lue Tsen
2025-09-28 11:14:43 -04:00
parent 0d1df5f905
commit 0179e9837c
6 changed files with 72 additions and 80 deletions
@@ -38,7 +38,6 @@ func (l *UpdateServerLogic) UpdateServer(req *types.UpdateServerRequest) error {
data.Name = req.Name
data.Country = req.Country
data.City = req.City
data.Ratio = req.Ratio
// only update address when it's different
if req.Address != data.Address {
// query server ip location