浏览代码

update json tag

abhishek9686 1 年之前
父节点
当前提交
67f2b43779
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      models/structs.go

+ 1 - 1
models/structs.go

@@ -198,7 +198,7 @@ type IngressRequest struct {
 
 // InetNodeReq - exit node request struct
 type InetNodeReq struct {
-	InetNodeClientIDs []string `json:"inet_node_client_id"`
+	InetNodeClientIDs []string `json:"inet_node_client_ids"`
 }
 
 // ServerUpdateData - contains data to configure server