feat: Implement get flow API endpoint

This commit is contained in:
Faruk AYDIN
2024-02-26 00:52:02 +01:00
parent 5aad68ec62
commit b93b465f09
7 changed files with 135 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
import { Router } from 'express';
import { authenticateUser } from '../../../helpers/authentication.js';
import { authorizeUser } from '../../../helpers/authorization.js';
import getFlowAction from '../../../controllers/api/v1/flows/get-flow.js';
const router = Router();
router.get('/:flowId', authenticateUser, authorizeUser, getFlowAction);
export default router;