fix #9514: await user update client sid

This commit is contained in:
Matteo Pagliazzi 2019-04-25 22:49:58 +02:00
parent 9d473cc92e
commit 043e0fb819

View file

@ -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) {