mirror of
https://github.com/elyby/accounts-frontend.git
synced 2024-12-28 07:50:32 +05:30
users -> accounts
This commit is contained in:
parent
14d2d8eac4
commit
d0b064bc50
@ -27,7 +27,7 @@ export function logout() {
|
|||||||
|
|
||||||
export function fetchUserData() {
|
export function fetchUserData() {
|
||||||
return (dispatch) =>
|
return (dispatch) =>
|
||||||
request.get('/api/users/current')
|
request.get('/api/accounts/current')
|
||||||
.then((resp) => {
|
.then((resp) => {
|
||||||
dispatch(updateUser(resp));
|
dispatch(updateUser(resp));
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user