fixed changeAccount call

This commit is contained in:
uh wot 2021-09-09 01:49:54 +02:00
parent e3711468c9
commit a589853a86
No known key found for this signature in database
GPG Key ID: CB2454984587B781

View File

@ -986,7 +986,7 @@ export default {
}, },
async changeAccount() { async changeAccount() {
// socket.emit('changeAccount', this.accountNum) // socket.emit('changeAccount', this.accountNum)
const [user, accountNum] = await fetchData('changeAccount', this.accountNum) const [user, accountNum] = await fetchData('changeAccount', { child: this.accountNum })
this.accountChanged(user, accountNum) this.accountChanged(user, accountNum)
}, },