mirror of
https://github.com/zadam/trilium.git
synced 2024-11-15 20:33:12 +08:00
13 lines
No EOL
287 B
JavaScript
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; |