mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-05-22 05:38:46 +00:00
fix #9514: await user update client sid
This commit is contained in:
parent
9d473cc92e
commit
043e0fb819
1 changed files with 2 additions and 4 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue