mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 10:26:08 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			13 lines
		
	
	
		
			287 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			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; |