mirror of
https://github.com/alireza0/s-ui.git
synced 2026-10-22 03:41:49 +00:00
fix add bulk client
This commit is contained in:
parent
1e3d1b9ed3
commit
cd3d4e6451
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue