trilium/src/routes/api/password.js
2018-04-01 12:03:21 -04:00

11 lines
No EOL
274 B
JavaScript

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