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

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

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