mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-11 11:02:27 +08:00
11 lines
274 B
JavaScript
11 lines
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
|
|
}; |