All checks were successful
farmcontrol/farmcontrol-api/pipeline/head This commit looks good
10 lines
279 B
JavaScript
10 lines
279 B
JavaScript
import express from 'express';
|
|
import { isAuthenticated } from '../../keycloak.js';
|
|
import { csvExportRouteHandler } from '../../services/misc/csv.js';
|
|
|
|
const router = express.Router();
|
|
|
|
router.get('/:objectType', isAuthenticated, csvExportRouteHandler);
|
|
|
|
export default router;
|