import localsHelper from '../../../../utils/localsHelper.js';

class RecentlyViewedReportsController {
    services;
    constructor(services) {
        this.services = services;
    }
    POST = async (req, res) => {
        const { dprUser } = localsHelper.getValues(res);
        const { id } = req.params;
        await this.services.recentlyViewedService.removeReport(id, dprUser.id);
        await this.services.requestedReportService.removeReport(id, dprUser.id);
        res.end();
    };
}

export { RecentlyViewedReportsController, RecentlyViewedReportsController as default };
//# sourceMappingURL=controller.js.map
