fix(client): ログイントークンの再生成が出来ない

Fix #9822
This commit is contained in:
syuilo 2023-02-08 20:12:44 +09:00
parent a1b8cd15c4
commit 57543e6b44

View file

@ -91,7 +91,7 @@ function regenerateToken() {
type: 'password', type: 'password',
}).then(({ canceled, result: password }) => { }).then(({ canceled, result: password }) => {
if (canceled) return; if (canceled) return;
os.api('i/regenerate_token', { os.api('i/regenerate-token', {
password: password, password: password,
}); });
}); });