Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'web/service')
-rw-r--r--web/service/inbound.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/service/inbound.go b/web/service/inbound.go
index 84ce9bd8..57384128 100644
--- a/web/service/inbound.go
+++ b/web/service/inbound.go
@@ -564,7 +564,7 @@ func (s *InboundService) UpdateInboundClient(data *model.Inbound, clientId strin
if err != nil {
return false, err
}
- err = s.UpdateClientIPs(db, oldEmail, clients[0].Email)
+ err = s.UpdateClientIPs(tx, oldEmail, clients[0].Email)
if err != nil {
return false, err
}
@@ -576,7 +576,7 @@ func (s *InboundService) UpdateInboundClient(data *model.Inbound, clientId strin
if err != nil {
return false, err
}
- err = s.DelClientIPs(db, oldEmail)
+ err = s.DelClientIPs(tx, oldEmail)
if err != nil {
return false, err
}