Skip to content
Snippets Groups Projects
Commit 7b0f84d8 authored by Vytor Calixto's avatar Vytor Calixto :space_invader:
Browse files

Add route distributionFactor to api

parent 40b192f8
No related branches found
No related tags found
2 merge requests!116Release v1.0.0,!89Issue/348
Pipeline #
...@@ -48,6 +48,8 @@ const educationYears = require(`${libs}/routes/educationYears`); ...@@ -48,6 +48,8 @@ const educationYears = require(`${libs}/routes/educationYears`);
const infrastructure = require(`${libs}/routes/infrastructure`); const infrastructure = require(`${libs}/routes/infrastructure`);
const distributionFactor = require(`${libs}/routes/distributionFactor`);
api.get('/', (req, res) => { api.get('/', (req, res) => {
res.json({ msg: 'SimCAQ API is running' }); res.json({ msg: 'SimCAQ API is running' });
}); });
...@@ -74,5 +76,6 @@ api.use('/verify', verifyToken); ...@@ -74,5 +76,6 @@ api.use('/verify', verifyToken);
api.use('/reset', resetToken); api.use('/reset', resetToken);
api.use('/education_years', educationYears); api.use('/education_years', educationYears);
api.use('/infrastructure', infrastructure); api.use('/infrastructure', infrastructure);
api.use('/distribution_factor', distributionFactor);
module.exports = api; module.exports = api;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment