mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-10-27 02:24:40 +00:00
Compare commits
3 commits
a1c0231abc
...
09933f845d
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
09933f845d | ||
|
|
7f4efbd92e | ||
|
|
6e263fff8a |
3 changed files with 3 additions and 3 deletions
|
|
@ -37,6 +37,6 @@ func (j *PeriodicClientTrafficResetJob) Run() {
|
||||||
}
|
}
|
||||||
|
|
||||||
if resetCount > 0 {
|
if resetCount > 0 {
|
||||||
logger.Infof("Periodic client traffic reset completed: %d clients reseted", resetCount)
|
logger.Infof("Periodic client traffic reset completed: %d clients reset", resetCount)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -39,6 +39,6 @@ func (j *PeriodicTrafficResetJob) Run() {
|
||||||
}
|
}
|
||||||
|
|
||||||
if resetCount > 0 {
|
if resetCount > 0 {
|
||||||
logger.Infof("Periodic traffic reset completed: %d inbounds reseted", resetCount)
|
logger.Infof("Periodic traffic reset completed: %d inbounds reset", resetCount)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -739,7 +739,7 @@ func (s *InboundService) DelInboundClient(inboundId int, clientId string) (bool,
|
||||||
}
|
}
|
||||||
|
|
||||||
func (s *InboundService) UpdateInboundClient(data *model.Inbound, clientId string) (bool, error) {
|
func (s *InboundService) UpdateInboundClient(data *model.Inbound, clientId string) (bool, error) {
|
||||||
// TODO: check if TrafficReset field are updating
|
// TODO: check if TrafficReset field is updating
|
||||||
clients, err := s.GetClients(data)
|
clients, err := s.GetClients(data)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return false, err
|
return false, err
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue