summaryrefslogtreecommitdiff
path: root/cmd/cli
diff options
context:
space:
mode:
authorJeroen Wijenbergh <jeroenwijenbergh@protonmail.com>2024-05-08 11:49:19 +0200
committerJeroen Wijenbergh <46386452+jwijenbergh@users.noreply.github.com>2024-05-08 13:54:45 +0000
commit9ce4e4458794290755c68a180125acc68ab84038 (patch)
treed4211e55bd77d07938651619733c7b435597d53a /cmd/cli
parent580f94b4023fba35ab2f58d2e6d7b3b7c40ec139 (diff)
Server: Add a way to pass OAuth start time
Diffstat (limited to 'cmd/cli')
-rw-r--r--cmd/cli/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/cli/main.go b/cmd/cli/main.go
index f769044..3f5913a 100644
--- a/cmd/cli/main.go
+++ b/cmd/cli/main.go
@@ -146,7 +146,7 @@ func getConfig(state *client.Client, url string, srvType srvtypes.Type) (*srvtyp
}
ck := cookie.NewWithContext(context.Background())
defer ck.Cancel() //nolint:errcheck
- err := state.AddServer(ck, url, srvType, false)
+ err := state.AddServer(ck, url, srvType, nil)
if err != nil {
return nil, err
}