'use strict';

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

var localsHelper = require('../../../../utils/localsHelper.js');

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

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