refactor: name webhook controller handler

This commit is contained in:
Ali BARIN
2022-11-30 02:10:32 +01:00
parent d83e8dabf8
commit 0f4f36c654
2 changed files with 7 additions and 7 deletions

View File

@@ -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;