'use strict';

var utils = require('../../../components/_catalogue/catalogue/utils.js');

class ReportCatalogueController {
    layoutPath;
    services;
    constructor(layoutPath, services) {
        this.layoutPath = layoutPath;
        this.services = services;
    }
    GET = async (req, res) => {
        const catalogue = await utils.initCatalogue({ res, req, services: this.services });
        res.render(`dpr/routes/journeys/report-catalogue/view`, {
            layoutPath: this.layoutPath,
            catalogue,
        });
    };
}

module.exports = ReportCatalogueController;
//# sourceMappingURL=controller.js.map
