summaryrefslogtreecommitdiff
path: root/cli
diff options
context:
space:
mode:
authorJeroen Wijenbergh <jeroenwijenbergh@protonmail.com>2022-03-21 11:20:34 +0100
committerjwijenbergh <jeroenwijenbergh@protonmail.com>2022-04-05 12:26:16 +0200
commitd45f5df4dc5fa9ad8abdc47c940f6baf96fdbe45 (patch)
treec910ef87fc8464cd93978ce3cda5e3df87a30d5e /cli
parent2d5c7dad599b3f8b70ab07382973c51d1de2193d (diff)
OAuth: Make sure the tokens are not expired
Diffstat (limited to 'cli')
-rw-r--r--cli/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/main.go b/cli/main.go
index ccec3f4..0bee0c2 100644
--- a/cli/main.go
+++ b/cli/main.go
@@ -50,7 +50,7 @@ func main() {
if oauthErr != nil {
log.Fatal(oauthErr)
}
- infoString, infoErr := state.APIAuthenticatedInfo()
+ infoString, infoErr := state.APIAuthenticatedGet("/info")
if infoErr != nil {
log.Fatal(infoErr)
}