From 36243cd3bd06b18691ab920a971bdc257bbdf884 Mon Sep 17 00:00:00 2001 From: Aminejv Date: Tue, 3 Aug 2021 18:07:48 +0100 Subject: [PATCH] feat(sanizeUser): remove email and twitterId --- node_common/serializers.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/node_common/serializers.js b/node_common/serializers.js index 17ae2133..465444fc 100644 --- a/node_common/serializers.js +++ b/node_common/serializers.js @@ -11,8 +11,6 @@ export const sanitizeUser = (entity) => { username: entity.username, slates: entity.slates, //NOTE(martina): this is not in the database. It is added after library: entity.library, //NOTE(martina): this is not in the database. It is added after - twitterId: entity.twitterId, - email: entity.email, data: { name: entity.data?.name, photo: entity.data?.photo,