From 989d6cb77d309efae7bcc21620baccf2bcd6227b Mon Sep 17 00:00:00 2001 From: daic0r Date: Thu, 26 Sep 2024 17:57:28 +0200 Subject: [PATCH] fix: incorrect field name --- types/api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/api.go b/types/api.go index 5c1be50..8fabe59 100644 --- a/types/api.go +++ b/types/api.go @@ -476,7 +476,7 @@ type TokenRequest struct { RefreshToken string `json:"refresh_token,omitempty"` // Code and CodeVerifier are required if GrantType is 'pkce'. - Code string `json:"code,omitempty"` + Code string `json:"auth_code,omitempty"` // Code and CodeVerifier are required if GrantType is 'pkce'. CodeVerifier string `json:"code_verifier,omitempty"`