refactor: name webhook controller handler
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import createAction from '../controllers/webhooks/create';
|
||||
import { Router } from 'express';
|
||||
import webhookHandler from '../controllers/webhooks/handler';
|
||||
|
||||
const router = Router();
|
||||
|
||||
router.post('/:flowId', createAction);
|
||||
router.post('/:flowId', webhookHandler);
|
||||
|
||||
export default router;
|
||||
|
Reference in New Issue
Block a user