mirror of
https://github.com/filecoin-project/slate.git
synced 2024-11-23 14:07:20 +03:00
feat(sanizeUser): remove email and twitterId
This commit is contained in:
parent
a0174ad8f8
commit
36243cd3bd
@ -11,8 +11,6 @@ export const sanitizeUser = (entity) => {
|
|||||||
username: entity.username,
|
username: entity.username,
|
||||||
slates: entity.slates, //NOTE(martina): this is not in the database. It is added after
|
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
|
library: entity.library, //NOTE(martina): this is not in the database. It is added after
|
||||||
twitterId: entity.twitterId,
|
|
||||||
email: entity.email,
|
|
||||||
data: {
|
data: {
|
||||||
name: entity.data?.name,
|
name: entity.data?.name,
|
||||||
photo: entity.data?.photo,
|
photo: entity.data?.photo,
|
||||||
|
Loading…
Reference in New Issue
Block a user