feat: fix JSON tag of EmailVerified (#2322)

Signed-off-by: Cattī Crūdēlēs <17695588+wzy9607@users.noreply.github.com>
This commit is contained in:
Cattī Crūdēlēs 2023-09-11 18:33:24 +08:00 committed by GitHub
parent e5e264628e
commit a7cb202ee9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -200,7 +200,7 @@ type Userinfo struct {
Name string `json:"preferred_username,omitempty"`
DisplayName string `json:"name,omitempty"`
Email string `json:"email,omitempty"`
EmailVerified bool `json:"email,omitempty"`
EmailVerified bool `json:"email_verified,omitempty"`
Avatar string `json:"picture,omitempty"`
Address string `json:"address,omitempty"`
Phone string `json:"phone,omitempty"`