mirror of
https://github.com/cheveguerra/whaticket-community.git
synced 2026-04-19 12:19:16 +00:00
16 lines
392 B
JavaScript
16 lines
392 B
JavaScript
const express = require("express");
|
|
const isAuth = require("../middleware/is-auth");
|
|
|
|
const WhatsappController = require("../controllers/whatsapp");
|
|
|
|
const routes = express.Router();
|
|
|
|
routes.get("/whatsapp/session", isAuth, WhatsappController.getSession);
|
|
// routes.post(
|
|
// "/messages/:contactId",
|
|
// isAuth,
|
|
// WhatsappController.postCreateContactMessage
|
|
// );
|
|
|
|
module.exports = routes;
|