fix ineffassign
This commit is contained in:
@@ -92,6 +92,9 @@ func (s *ClashService) GetClash(subId string) (*string, []string, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
result, err := s.ConvertToClashMeta(outbounds)
|
result, err := s.ConvertToClashMeta(outbounds)
|
||||||
|
if err != nil {
|
||||||
|
return nil, nil, err
|
||||||
|
}
|
||||||
resultStr := othersStr + "\n" + string(result)
|
resultStr := othersStr + "\n" + string(result)
|
||||||
|
|
||||||
updateInterval, _ := s.SettingService.GetSubUpdates()
|
updateInterval, _ := s.SettingService.GetSubUpdates()
|
||||||
|
|||||||
Reference in New Issue
Block a user