mirror of
https://github.com/nickzuber/meteorite.git
synced 2024-09-11 11:36:03 +03:00
Return user model on fetch
This commit is contained in:
parent
e9ce46f01c
commit
88bb99ac0a
@ -119,6 +119,7 @@ class NotificationsProvider extends React.Component {
|
||||
}).then(processHeadersAndBodyJson)
|
||||
.then(({json}) => {
|
||||
this.props.setUserItem('user-model', json);
|
||||
return json;
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user