mirror of
https://github.com/cheveguerra/whaticket-community.git
synced 2026-04-18 19:59:20 +00:00
12 lines
325 B
JavaScript
12 lines
325 B
JavaScript
const express = require("express");
|
|
const isAuth = require("../middleware/is-auth");
|
|
|
|
const ContactController = require("../controllers/contact");
|
|
|
|
const routes = express.Router();
|
|
|
|
routes.get("/contacts", isAuth, ContactController.getContacts);
|
|
// routes.post(ContactController.postCreateContact);
|
|
|
|
module.exports = routes;
|