diff options
| author | Alireza Ahmadi <alireza7@gmail.com> | 2023-12-06 01:09:08 +0300 |
|---|---|---|
| committer | Alireza Ahmadi <alireza7@gmail.com> | 2023-12-06 01:09:08 +0300 |
| commit | 4ee986aa718aecaad45c9eda03ff57aea0f535cf (patch) | |
| tree | acc56a259b527c1ee08672713d4cb3a99cc75910 /sub | |
| parent | aa196372887dcfd1048522d13c573f8c0296548c (diff) | |
[sub] fix typo #1286
Diffstat (limited to 'sub')
| -rw-r--r-- | sub/subService.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sub/subService.go b/sub/subService.go index 4cb14030..23fad299 100644 --- a/sub/subService.go +++ b/sub/subService.go @@ -20,7 +20,7 @@ type SubService struct { address string showInfo bool inboundService service.InboundService - settingServics service.SettingService + settingService service.SettingService } func (s *SubService) GetSubs(subId string, host string, showInfo bool) ([]string, []string, error) { @@ -87,7 +87,7 @@ func (s *SubService) GetSubs(subId string, host string, showInfo bool) ([]string } } headers = append(headers, fmt.Sprintf("upload=%d; download=%d; total=%d; expire=%d", traffic.Up, traffic.Down, traffic.Total, traffic.ExpiryTime/1000)) - updateInterval, _ := s.settingServics.GetSubUpdates() + updateInterval, _ := s.settingService.GetSubUpdates() headers = append(headers, fmt.Sprintf("%d", updateInterval)) headers = append(headers, subId) return result, headers, nil |
