fix add bulk client

This commit is contained in:
Alireza Ahmadi
2025-07-24 15:11:50 +02:00
parent 1e3d1b9ed3
commit cd3d4e6451
+4
View File
@@ -81,6 +81,10 @@ func (s *ClientService) Save(tx *gorm.DB, act string, data json.RawMessage, host
if err != nil {
return nil, err
}
err = json.Unmarshal(clients[0].Inbounds, &inboundIds)
if err != nil {
return nil, err
}
err = s.updateLinksWithFixedInbounds(tx, clients, hostname)
if err != nil {
return nil, err