'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

var utils = require('../../../../../components/user-reports/bookmarks/utils.js');

class BookmarkListingController {
    layoutPath;
    services;
    constructor(layoutPath, services) {
        this.layoutPath = layoutPath;
        this.services = services;
    }
    GET = async (_req, res, _next) => {
        res.render(`dpr/routes/journeys/my-reports/view`, {
            title: 'Bookmarks',
            layoutPath: this.layoutPath,
            id: 'dpr-bookmarks-list',
            ...(await utils.default.renderBookmarkList({ services: this.services, res })),
        });
    };
}

exports.BookmarkListingController = BookmarkListingController;
exports.default = BookmarkListingController;
//# sourceMappingURL=controller.js.map
