mirror of
https://github.com/zadam/trilium.git
synced 2024-12-27 01:34:05 +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; |