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