wait 2m before ntg auth refresh

This commit is contained in:
Bel LaPointe
2022-01-11 09:43:14 -05:00
parent 22b8e0fb70
commit 2d0586bea4

View File

@@ -100,6 +100,7 @@ func (ntg NTGVision) search(states []config.State) (io.ReadCloser, error) {
}
func (ntg NTGVision) refreshAuth() error {
time.Sleep(time.Minute * 2) // TODO
b, _ := json.Marshal(map[string]string{
"username": config.Get().Brokers.NTG.Username,
"password": config.Get().Brokers.NTG.Password,