Use new changes in infinitime library to stop removing InfiniTime devices (Fixes #10)

This commit is contained in:
2022-04-16 04:28:53 -07:00
parent c8c617c10a
commit d318c584da
3 changed files with 6 additions and 3 deletions

View File

@@ -29,6 +29,7 @@ import (
"github.com/gen2brain/dlgs"
"github.com/knadh/koanf"
"github.com/mattn/go-isatty"
"github.com/rs/zerolog"
"github.com/rs/zerolog/log"
"go.arsenm.dev/infinitime"
)
@@ -64,6 +65,8 @@ func main() {
WhitelistEnabled: k.Bool("conn.whitelist.enabled"),
Whitelist: k.Strings("conn.whitelist.devices"),
OnReqPasskey: onReqPasskey,
Logger: log.Logger,
LogLevel: zerolog.WarnLevel,
}
// Connect to InfiniTime with default options