✏️ 初始化密钥接口大小写问题

This commit is contained in:
Liang Ding 2022-12-15 10:29:10 +08:00
parent 6c1bfd791b
commit 9782dccfda
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
4 changed files with 4 additions and 4 deletions

View file

@ -225,7 +225,7 @@ const setKey = () => {
return;
}
confirmDialog("🔑 " + window.siyuan.languages.genKeyByPW, window.siyuan.languages.initRepoKeyTip, () => {
fetchPost("/api/repo/InitRepoKeyFromPassphrase", {pass: inputElement.value}, (response) => {
fetchPost("/api/repo/initRepoKeyFromPassphrase", {pass: inputElement.value}, (response) => {
setSync(response.data.key, dialog);
});
});