fix adminpw api route

This commit is contained in:
axolotle 2021-03-22 22:38:38 +01:00
parent 88b488857c
commit 849a13853e

View file

@ -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')