Removed unused route

This commit is contained in:
Jesús Ángel González 2018-04-23 11:17:07 +02:00
parent f7069d9986
commit 7b76cb7067

View File

@ -24,9 +24,6 @@ export default (server, options) => {
// Create visualizations specified in 'tab' parameter with the 'timestamp' sufix and applying to 'pattern'
server.route({ method: 'GET', path: '/api/wazuh-elastic/create-vis/{tab}/{timestamp}/{pattern}', handler: (req,res) => ctrl.createVis(req,res) });
// Delete visualizations specified in 'tab' parameter
server.route({ method: 'GET', path: '/api/wazuh-elastic/delete-vis/{timestamp}', handler: (req,res) => ctrl.deleteVis(req,res) });
// Returns whether a correct template is being applied for the index-pattern
server.route({ method: 'GET', path: '/api/wazuh-elastic/template/{pattern}', handler: (req,res) => ctrl.getTemplate(req,res) });