Add forgotten prop to entity normalizer

This commit is contained in:
shpuld 2019-01-27 08:42:34 +02:00
parent b82ba54add
commit 4c9f3b946d
2 changed files with 2 additions and 0 deletions

View file

@ -104,6 +104,7 @@ export const parseUser = (data) => {
output.background_image = data.background_image
}
output.following = data.following
output.created_at = new Date(data.created_at)
output.locked = data.locked
output.followers_count = data.followers_count

View file

@ -80,6 +80,7 @@ const makeMockUserMasto = (overrides = {}) => {
fields: [],
followers_count: 705,
following_count: 326,
following: true,
header:
'https://shigusegubu.club/media/7ab024d9-2a8a-4fbc-9ce8-da06756ae2db/6aadefe4e264133bc377ab450e6b045b6f5458542a5c59e6c741f86107f0388b.png',
header_static: