From 5cc946b5ea8d575fd5839806b9ed11adfc6b5fd4 Mon Sep 17 00:00:00 2001 From: Jordan Doyle Date: Sat, 17 Sep 2022 14:38:16 +0100 Subject: [PATCH] Hide emails from API responses until we have a way for the user to decide visibility --- chartered-web/src/endpoints/web_api/users/info.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chartered-web/src/endpoints/web_api/users/info.rs b/chartered-web/src/endpoints/web_api/users/info.rs index 36bfbaf..e0c5ac7 100644 --- a/chartered-web/src/endpoints/web_api/users/info.rs +++ a/chartered-web/src/endpoints/web_api/users/info.rs @@ -23,7 +23,7 @@ username: String, name: Option, nick: Option, - email: Option, + // email: Option, external_profile_url: Option, picture_url: Option, } @@ -35,7 +35,7 @@ username: user.username, name: user.name, nick: user.nick, - email: user.email, + // email: user.email, external_profile_url: user.external_profile_url, picture_url: user.picture_url, } -- rgit 0.1.3