This commit is contained in:
Javad Tinatpak 2024-08-06 17:45:36 +03:30
parent 9d9786679b
commit 22c1bbd195

View file

@ -18,7 +18,6 @@ type InboundController struct {
} }
type AddClientPayload struct { type AddClientPayload struct {
Id int `json:"id"`
Settings string `json:"settings"` Settings string `json:"settings"`
InboundIds []int `json:"inboundIds"` InboundIds []int `json:"inboundIds"`
} }
@ -205,7 +204,6 @@ func (a *InboundController) addClientToMultipleInbounds(c *gin.Context) {
} }
data := &model.Inbound{ data := &model.Inbound{
Id: payload.Id,
Settings: payload.Settings, Settings: payload.Settings,
} }