fix(login): return proper Promise on login action

This commit is contained in:
axolotle 2024-03-26 23:16:19 +01:00
parent 4b484a0396
commit a5e0022fb5

View file

@ -170,7 +170,7 @@ export default {
return api
.post('login', { credentials }, null, { websocket: false })
.then(() => {
dispatch('CONNECT')
return dispatch('CONNECT')
})
},