Matthew Miller MasterKale @IAmKale
Sometimes you get too much info...
{
"username": "IAmKale",
"password": "plaintextpassword",
"lastLogin": "2019-01-24T12:35:49.543Z"
...
...or not enough!
return axios.get(`${API_URL}/users/1234/`).then((user) =>
axios.get(`${API_URL}/profile/${user.data.profileId}/`)
.then((profile) => ({
...user,
profileData: profile.data,
});
);