diff --git a/config.json b/config.json index 4f7b8e6..2e6fc88 100644 --- a/config.json +++ b/config.json @@ -1,7 +1,7 @@ { "Log": { "Path": "/tmp/truckstop.log", - "Level": "debug", + "Level": "DEB", "SOSMatrix": { "ReceiveEnabled": true, "Mock": false, @@ -50,6 +50,7 @@ ], "Zips": [ "27006", + "73044", "84058" ], "IDs": { @@ -76,21 +77,21 @@ "Once": false, "Brokers": { "UseZips": true, - "RadiusMiles": 100, - "FastExact": { - "Enabled": true, - "Mock": false, - "Username": "birdman", - "Password": "166647" - }, + "RadiusMiles": 100, "NTG": { - "Enabled": false, + "Enabled": true, "JobInfo": true, "Mock": false, "LoadPageURIFormat": "https://ntgvision.com/LoadDetails?loadId=%d", "LoadPageAPIURIFormat": "https://ntgvision.com/api/v1/load/LoadDetails?loadId==%d", "Username": "noeasyrunstrucking@gmail.com", "Password": "thumper12345" + }, + "FastExact": { + "Enabled": true, + "Mock": false, + "Username": "birdman", + "Password": "166647" } } -} +} \ No newline at end of file diff --git a/main.go b/main.go index 302cb4f..c48c12c 100644 --- a/main.go +++ b/main.go @@ -386,9 +386,9 @@ func once() error { func getJobs() ([]broker.Job, error) { if config.Get().Brokers.UseZips { - return getJobsStates() + return getJobsZips() } - return getJobsZips() + return getJobsStates() } func getJobsZips() ([]broker.Job, error) {