From c67e171a7451aab7eb8783f5ff967e5f6acc56b1 Mon Sep 17 00:00:00 2001 From: avdb13 Date: Tue, 17 Dec 2024 15:59:58 +0000 Subject: [PATCH] provide meaning default for `given_name` --- src/models/src/entity/atproto.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/models/src/entity/atproto.rs b/src/models/src/entity/atproto.rs index 4afa806b..394b320b 100644 --- a/src/models/src/entity/atproto.rs +++ b/src/models/src/entity/atproto.rs @@ -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,