Explorar el Código

Save new access token after relogining

Tulir Asokan hace 2 años
padre
commit
315e7921e6
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      custompuppet.go

+ 1 - 0
custompuppet.go

@@ -119,6 +119,7 @@ func (puppet *Puppet) tryRelogin(cause error, action string) bool {
 	}
 	puppet.log.Infofln("Successfully relogined after '%v' while %s", cause, action)
 	puppet.AccessToken = accessToken
+	puppet.Update()
 	return true
 }