trilium/routes/api/anonymization.js
2017-12-16 00:05:37 -05:00

13 lines
No EOL
287 B
JavaScript

"use strict";
const express = require('express');
const router = express.Router();
const anonymization = require('../../services/anonymization');
router.post('/anonymize', async (req, res, next) => {
await anonymization.anonymize();
res.send({});
});
module.exports = router;