Skip to content

Commit

Permalink
Merge pull request #4 from snuna/fix/integrations-without-email-access
Browse files Browse the repository at this point in the history
Fix/integrations without email access
  • Loading branch information
b3ngg authored Feb 16, 2024
2 parents ea5145e + ca8e882 commit f730033
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/models/text/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ fn rich_text_mention_user_person() {
),
},
person: Person {
email: "john.doe@gmail.com".to_string()
email: Some("john.doe@gmail.com".to_string())
},
}
},
Expand Down
4 changes: 2 additions & 2 deletions src/models/users.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ pub struct UserCommon {

#[derive(Serialize, Deserialize, Clone, Debug, Eq, PartialEq)]
pub struct Person {
pub email: String,
pub email: Option<String>,
}

#[derive(Serialize, Deserialize, Clone, Debug, Eq, PartialEq)]
pub struct Bot {
pub email: String,
pub email: Option<String>,
}

#[derive(Serialize, Deserialize, Clone, Debug, Eq, PartialEq)]
Expand Down

0 comments on commit f730033

Please # to comment.