trilium/src/routes/api/password.js
2020-06-20 12:31:38 +02:00

12 lines
263 B
JavaScript

"use strict";
const changePasswordService = require('../../services/change_password');
function changePassword(req) {
return changePasswordService.changePassword(req.body.current_password, req.body.new_password);
}
module.exports = {
changePassword
};