From d45f5df4dc5fa9ad8abdc47c940f6baf96fdbe45 Mon Sep 17 00:00:00 2001 From: Jeroen Wijenbergh Date: Mon, 21 Mar 2022 11:20:34 +0100 Subject: OAuth: Make sure the tokens are not expired --- cli/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli') 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) } -- cgit v1.2.3