db anonymization implementation

This commit is contained in:
azivner
2017-12-16 00:05:37 -05:00
parent fab69f411e
commit 5b08dfefd3
9 changed files with 74 additions and 7 deletions

View File

@@ -0,0 +1,13 @@
"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;