From d37f60bb3ac0d4bd09da61beb179111857d9307c Mon Sep 17 00:00:00 2001 From: bel Date: Mon, 17 Jan 2022 18:45:46 -0700 Subject: [PATCH] assert SOS is K for bad ntg auth --- broker/ntgvision.go | 2 +- config.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/broker/ntgvision.go b/broker/ntgvision.go index f7e5b45..2cd91ad 100644 --- a/broker/ntgvision.go +++ b/broker/ntgvision.go @@ -235,7 +235,7 @@ func (ntg NTGVision) search(states []config.State) (io.ReadCloser, error) { } func (ntg NTGVision) refreshAuth() error { - err := ntg.refreshAuth() + err := ntg._refreshAuth() if err != nil { logtr.SOSf("failed to refresh ntg auth: %v", err) } diff --git a/config.json b/config.json index cbeb847..34ad00f 100644 --- a/config.json +++ b/config.json @@ -73,7 +73,7 @@ "Brokers": { "NTG": { "JobInfo": true, - "Mock": true, + "Mock": false, "LoadPageURIFormat": "https://ntgvision.com/LoadDetails?loadId=%d", "Username": "noeasyrunstrucking@gmail.com", "Password": "thumper1234"