Move following to qvitter only space

This commit is contained in:
shpuld 2019-01-27 16:10:55 +02:00
parent 4c9f3b946d
commit b9142e6fac
2 changed files with 2 additions and 2 deletions

View file

@ -102,9 +102,10 @@ export const parseUser = (data) => {
output.default_scope = data.default_scope output.default_scope = data.default_scope
output.hide_network = data.hide_network output.hide_network = data.hide_network
output.background_image = data.background_image output.background_image = data.background_image
// on mastoapi this info is contained in a "relationship"
output.following = data.following
} }
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

View file

@ -80,7 +80,6 @@ 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: