Skip to content

Commit

Permalink
fix #9514: await user update client sid
Browse files Browse the repository at this point in the history
  • Loading branch information
paglias committed Apr 25, 2019
1 parent 9d473cc commit 043e0fb
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions website/client/store/actions/user.js
Expand Up @@ -51,10 +51,8 @@ export async function set (store, changes) {
}
}

axios.put('/api/v4/user', changes);
// TODO
// .then((res) => console.log('set', res))
// .catch((err) => console.error('set', err));
let response = await axios.put('/api/v4/user', changes);
return response.data.data;
}

export async function sleep (store) {
Expand Down

0 comments on commit 043e0fb

Please sign in to comment.