Compare commits

...

3 commits

Author SHA1 Message Date
Sanaei
09933f845d
Update web/service/inbound.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-09-12 12:30:53 +02:00
Sanaei
7f4efbd92e
Update web/job/periodic_client_traffic_reset_job.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-09-12 12:30:36 +02:00
Sanaei
6e263fff8a
Update web/job/periodic_traffic_reset_job.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-09-12 12:30:23 +02:00
3 changed files with 3 additions and 3 deletions

View file

@ -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)
} }
} }

View file

@ -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)
} }
} }

View file

@ -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