fix: fix incorrect conversion between integer type

This commit is contained in:
pocketW
2022-08-02 19:42:29 +10:00
parent 84db0453cb
commit e46dc1d8d7
8 changed files with 23 additions and 21 deletions

View File

@@ -49,7 +49,7 @@ type UserResponse struct {
ID int `json:"id"`
Email string `json:"email"`
Passwd string `json:"passwd"`
Port int `json:"port"`
Port uint32 `json:"port"`
Method string `json:"method"`
SpeedLimit float64 `json:"node_speedlimit"`
DeviceLimit int `json:"node_connector"`