mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-31 13:01:31 +08: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; |