Skip to content

Commit

Permalink
provide meaning default for given_name
Browse files Browse the repository at this point in the history
  • Loading branch information
avdb13 committed Dec 17, 2024
1 parent b475fcc commit c67e171
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/models/src/entity/atproto.rs
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ impl AtprotoCallback for AuthProviderCallback {
} else {
let new_user = User {
email: email.as_ref().unwrap().to_string(),
given_name: "N/A".to_string(),
given_name: "Unknown".to_string(),
family_name: None,
roles: Default::default(),
enabled: true,
Expand Down

0 comments on commit c67e171

Please sign in to comment.