import { Router } from 'express';
import { RequestDownloadSubmittedController } from './controller.js';

/* eslint-disable no-param-reassign */
function routes({ layoutPath, services }) {
    const router = Router({ mergeParams: true });
    const controller = new RequestDownloadSubmittedController(layoutPath, services);
    router.get(`/`, controller.GET);
    return router;
}

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