feat(sanizeUser): remove email and twitterId

This commit is contained in:
Aminejv 2021-08-03 18:07:48 +01:00 committed by Martina
parent a0174ad8f8
commit 36243cd3bd

View File

@ -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,