From a589853a866efca6948cd7639286d7e0eac91b7b Mon Sep 17 00:00:00 2001 From: uh wot Date: Thu, 9 Sep 2021 01:49:54 +0200 Subject: [PATCH] fixed changeAccount call --- src/components/pages/Settings.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/pages/Settings.vue b/src/components/pages/Settings.vue index 1cd6a9f..df63f9d 100644 --- a/src/components/pages/Settings.vue +++ b/src/components/pages/Settings.vue @@ -986,7 +986,7 @@ export default { }, async changeAccount() { // 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) },