Skip to content
Snippets Groups Projects
Commit c59bc9ad authored by jvfpw18's avatar jvfpw18
Browse files

Remove cache

parent 6e2135b8
No related branches found
No related tags found
1 merge request!224v1.11.7
Pipeline #20850 failed
...@@ -36,12 +36,8 @@ const id2str = require(`${libs}/middlewares/id2str`); ...@@ -36,12 +36,8 @@ const id2str = require(`${libs}/middlewares/id2str`);
const config = require(`${libs}/config`); const config = require(`${libs}/config`);
const cache = require('apicache').options({ debug: config.debug, statusCodes: {include: [200]} }).middleware;
let rqf = new ReqQueryFields(); let rqf = new ReqQueryFields();
enrollmentProjectionApp.use(cache('15 day'));
rqf.addField({ rqf.addField({
name: 'filter', name: 'filter',
field: false, field: false,
...@@ -230,4 +226,4 @@ enrollmentProjectionApp.get('/', rqf.parse(), rqf.build(), (req, res, next) => { ...@@ -230,4 +226,4 @@ enrollmentProjectionApp.get('/', rqf.parse(), rqf.build(), (req, res, next) => {
next(); next();
}, response('enrollment_projection')); }, response('enrollment_projection'));
module.exports = enrollmentProjectionApp; module.exports = enrollmentProjectionApp;
\ No newline at end of file
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