mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-08-09 21:00:58 +00:00
feat(sub): auto-detect subscription formats
This commit is contained in:
@@ -212,7 +212,7 @@ func TestGetSubsScale(t *testing.T) {
|
||||
jsonSvc := NewSubJsonService("", "", "", &SubService{})
|
||||
start = time.Now()
|
||||
for range reps {
|
||||
body, _, err := jsonSvc.GetJson(scaleTargetSubId, "sub.example.com")
|
||||
body, _, err := jsonSvc.GetJson(scaleTargetSubId, "sub.example.com", false)
|
||||
if err != nil {
|
||||
t.Fatalf("GetJson: %v", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user