whoosp backwards if body

Bel LaPointe 2022-01-27 18:41:58 -07:00
parent e916b5abfc
commit 3adcee2fbe
2 changed files with 13 additions and 12 deletions

View File

@ -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": {
@ -77,20 +78,20 @@
"Brokers": {
"UseZips": true,
"RadiusMiles": 100,
"FastExact": {
"Enabled": true,
"Mock": false,
"Username": "birdman",
"Password": "166647"
},
"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"
}
}
}

View File

@ -386,9 +386,9 @@ func once() error {
func getJobs() ([]broker.Job, error) {
if config.Get().Brokers.UseZips {
return getJobsStates()
}
return getJobsZips()
}
return getJobsStates()
}
func getJobsZips() ([]broker.Job, error) {