Merge pull request #5069 from gitbutlerapp/user-mail-is-optional

This commit is contained in:
Esteban Vega 2024-10-09 22:50:00 +02:00 committed by GitHub
commit e28a4b697c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 4 additions and 4 deletions

View File

@ -137,9 +137,9 @@ export class User {
name: string | undefined;
given_name: string | undefined;
family_name: string | undefined;
email!: string;
email!: string | undefined;
picture!: string;
locale!: string;
locale!: string | undefined;
created_at!: string;
updated_at!: string;
access_token!: string;

View File

@ -41,7 +41,7 @@ pub mod commands {
name: Option<String>,
given_name: Option<String>,
family_name: Option<String>,
email: String,
email: Option<String>,
picture: String,
locale: Option<String>,
created_at: String,

View File

@ -10,7 +10,7 @@ pub struct User {
pub name: Option<String>,
pub given_name: Option<String>,
pub family_name: Option<String>,
pub email: String,
pub email: Option<String>,
pub picture: String,
pub locale: Option<String>,
pub created_at: String,