If studio response body has no host yet, use owner

This commit is contained in:
seotts 2021-09-20 11:31:36 -04:00
parent dc241e1c6f
commit c70b67cde5

View file

@ -135,7 +135,7 @@ const getInfo = () => ((dispatch, getState) => {
followers: body.stats.followers,
managers: body.stats.managers,
projectCount: body.stats.projects,
host: body.host,
host: body.host || body.owner, // TODO: Remove owner once api updated
public: body.public
}));
});