forked from AkkomaGang/akkoma-fe
Add forgotten prop to entity normalizer
This commit is contained in:
parent
b82ba54add
commit
4c9f3b946d
2 changed files with 2 additions and 0 deletions
|
@ -104,6 +104,7 @@ export const parseUser = (data) => {
|
||||||
output.background_image = data.background_image
|
output.background_image = data.background_image
|
||||||
}
|
}
|
||||||
|
|
||||||
|
output.following = data.following
|
||||||
output.created_at = new Date(data.created_at)
|
output.created_at = new Date(data.created_at)
|
||||||
output.locked = data.locked
|
output.locked = data.locked
|
||||||
output.followers_count = data.followers_count
|
output.followers_count = data.followers_count
|
||||||
|
|
|
@ -80,6 +80,7 @@ const makeMockUserMasto = (overrides = {}) => {
|
||||||
fields: [],
|
fields: [],
|
||||||
followers_count: 705,
|
followers_count: 705,
|
||||||
following_count: 326,
|
following_count: 326,
|
||||||
|
following: true,
|
||||||
header:
|
header:
|
||||||
'https://shigusegubu.club/media/7ab024d9-2a8a-4fbc-9ce8-da06756ae2db/6aadefe4e264133bc377ab450e6b045b6f5458542a5c59e6c741f86107f0388b.png',
|
'https://shigusegubu.club/media/7ab024d9-2a8a-4fbc-9ce8-da06756ae2db/6aadefe4e264133bc377ab450e6b045b6f5458542a5c59e6c741f86107f0388b.png',
|
||||||
header_static:
|
header_static:
|
||||||
|
|
Loading…
Reference in a new issue