From 849a13853ea06e451196331cf952e5a37680220f Mon Sep 17 00:00:00 2001 From: axolotle Date: Mon, 22 Mar 2021 22:38:38 +0100 Subject: [PATCH] fix adminpw api route --- app/src/views/tool/ToolAdminpw.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/views/tool/ToolAdminpw.vue b/app/src/views/tool/ToolAdminpw.vue index d8f25c3d..538846a0 100644 --- a/app/src/views/tool/ToolAdminpw.vue +++ b/app/src/views/tool/ToolAdminpw.vue @@ -45,7 +45,7 @@ export default { api.fetchAll( [['POST', 'login', { password: currentPassword }, { websocket: false }], - ['PUT', 'admisnpw', { new_password: password }]], + ['PUT', 'adminpw', { new_password: password }]], { wait: true } ).then(() => { this.$store.dispatch('DISCONNECT')