mirror of
https://github.com/zadam/trilium.git
synced 2024-11-16 04:35:40 +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; |