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

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

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