wait 2m before ntg auth refresh

master v0.0.5
Bel LaPointe 2022-01-11 09:43:14 -05:00
parent 22b8e0fb70
commit 2d0586bea4
1 changed files with 1 additions and 0 deletions

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,