diff --git a/stytch/cryptowallet.go b/stytch/cryptowallet.go index 5f7c207..4e0c120 100644 --- a/stytch/cryptowallet.go +++ b/stytch/cryptowallet.go @@ -30,5 +30,5 @@ type CryptoWalletAuthenticateResponse struct { SessionToken string `json:"session_token,omitempty"` SessionJWT string `json:"session_jwt,omitempty"` Session Session `json:"session,omitempty"` - User User `jspon:"user,omitempty"` + User User `json:"user,omitempty"` } diff --git a/stytch/magiclink.go b/stytch/magiclink.go index 42e5444..655b8e4 100644 --- a/stytch/magiclink.go +++ b/stytch/magiclink.go @@ -30,7 +30,7 @@ type MagicLinksAuthenticateResponse struct { SessionToken string `json:"session_token,omitempty"` SessionJWT string `json:"session_jwt,omitempty"` Session Session `json:"session,omitempty"` - User User `jspon:"user,omitempty"` + User User `json:"user,omitempty"` } // MAGIC LINK - EMAIL diff --git a/stytch/otp.go b/stytch/otp.go index 68f33a0..4cf8507 100644 --- a/stytch/otp.go +++ b/stytch/otp.go @@ -18,7 +18,7 @@ type OTPsAuthenticateResponse struct { SessionToken string `json:"session_token,omitempty"` Session Session `json:"session,omitempty"` SessionJWT string `json:"session_jwt,omitempty"` - User User `jspon:"user,omitempty"` + User User `json:"user,omitempty"` } // OTP - SMS diff --git a/stytch/session.go b/stytch/session.go index e00a04d..44c8659 100644 --- a/stytch/session.go +++ b/stytch/session.go @@ -47,7 +47,7 @@ type SessionsAuthenticateResponse struct { Session Session `json:"session,omitempty"` SessionToken string `json:"session_token,omitempty"` SessionJWT string `json:"session_jwt,omitempty"` - User User `jspon:"user,omitempty"` + User User `json:"user,omitempty"` } type SessionsRevokeParams struct { diff --git a/stytch/totp.go b/stytch/totp.go index e049d49..6324345 100644 --- a/stytch/totp.go +++ b/stytch/totp.go @@ -36,7 +36,7 @@ type TOTPsAuthenticateResponse struct { SessionToken string `json:"session_token,omitempty"` SessionJWT string `json:"session_jwt,omitempty"` Session Session `json:"session,omitempty"` - User User `jspon:"user,omitempty"` + User User `json:"user,omitempty"` } type TOTPsRecoveryCodesParams struct { @@ -66,5 +66,5 @@ type TOTPsRecoverResponse struct { SessionToken string `json:"session_token,omitempty"` SessionJWT string `json:"session_jwt,omitempty"` Session Session `json:"session,omitempty"` - User User `jspon:"user,omitempty"` + User User `json:"user,omitempty"` } diff --git a/stytch/user.go b/stytch/user.go index 9aa98db..27bb257 100644 --- a/stytch/user.go +++ b/stytch/user.go @@ -78,7 +78,7 @@ type UsersCreateResponse struct { EmailID string `json:"email_id,omitempty"` PhoneID string `json:"phone_id,omitempty"` Status string `json:"status,omitempty"` - User User `jspon:"user,omitempty"` + User User `json:"user,omitempty"` } type UsersGetResponse struct { @@ -111,7 +111,7 @@ type UsersUpdateResponse struct { Emails []Email `json:"emails,omitempty"` PhoneNumbers []PhoneNumber `json:"phone_numbers,omitempty"` CryptoWallets []CryptoWallet `json:"crypto_wallets,omitempty"` - User User `jspon:"user,omitempty"` + User User `json:"user,omitempty"` } type UsersDeleteResponse struct { @@ -124,35 +124,35 @@ type UsersDeleteEmailResponse struct { RequestID string `json:"request_id,omitempty"` StatusCode int `json:"status_code,omitempty"` UserID string `json:"user_id,omitempty"` - User User `jspon:"user,omitempty"` + User User `json:"user,omitempty"` } type UsersDeletePhoneNumberResponse struct { RequestID string `json:"request_id,omitempty"` StatusCode int `json:"status_code,omitempty"` UserID string `json:"user_id,omitempty"` - User User `jspon:"user,omitempty"` + User User `json:"user,omitempty"` } type UsersDeleteWebAuthnRegistrationResponse struct { RequestID string `json:"request_id,omitempty"` StatusCode int `json:"status_code,omitempty"` UserID string `json:"user_id,omitempty"` - User User `jspon:"user,omitempty"` + User User `json:"user,omitempty"` } type UsersDeleteTOTPResponse struct { RequestID string `json:"request_id,omitempty"` StatusCode int `json:"status_code,omitempty"` UserID string `json:"user_id,omitempty"` - User User `jspon:"user,omitempty"` + User User `json:"user,omitempty"` } type UsersDeleteCryptoWalletResponse struct { RequestID string `json:"request_id,omitempty"` StatusCode int `json:"status_code,omitempty"` UserID string `json:"user_id,omitempty"` - User User `jspon:"user,omitempty"` + User User `json:"user,omitempty"` } /* User Search */ diff --git a/stytch/webauthn.go b/stytch/webauthn.go index 2867d29..6161fdd 100644 --- a/stytch/webauthn.go +++ b/stytch/webauthn.go @@ -53,5 +53,5 @@ type WebAuthnAuthenticateResponse struct { SessionToken string `json:"session_token,omitempty"` SessionJWT string `json:"session_jwt,omitempty"` Session Session `json:"session,omitempty"` - User User `jspon:"user,omitempty"` + User User `json:"user,omitempty"` }