mirror of
https://github.com/cheveguerra/api-whatsapp-ts.git
synced 2026-04-20 12:49:25 +00:00
multi
This commit is contained in:
12
src/http/infrastructure/router/lead.route.ts
Normal file
12
src/http/infrastructure/router/lead.route.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import express, { Router } from "express";
|
||||
import LeadCtrl from "../controller/lead.ctrl";
|
||||
import container from "../ioc";
|
||||
const router: Router = Router();
|
||||
|
||||
/**
|
||||
* http://localhost/lead POST
|
||||
*/
|
||||
const leadCtrl: LeadCtrl = container.get("lead.ctrl");
|
||||
router.post("/", leadCtrl.sendCtrl);
|
||||
|
||||
export { router };
|
||||
Reference in New Issue
Block a user