mirror of
https://github.com/zadam/trilium.git
synced 2025-11-06 13:26:01 +01:00
smaller refactorings continued
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
const changePasswordService = require('../../services/change_password');
|
||||
|
||||
async function changePassword(req) {
|
||||
return await changePasswordService.changePassword(req.body['current_password'], req.body['new_password'], req);
|
||||
return await changePasswordService.changePassword(req.body.current_password, req.body.new_password);
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
|
||||
Reference in New Issue
Block a user