mirror of
https://github.com/cheveguerra/whaticket-community.git
synced 2026-04-20 04:39:20 +00:00
working
This commit is contained in:
11
backend/routes/contacts.js
Normal file
11
backend/routes/contacts.js
Normal file
@@ -0,0 +1,11 @@
|
||||
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;
|
||||
Reference in New Issue
Block a user