prod124njac/prod124njac-back-b/authsec_node/Backend/routes/user.routes.js

12 lines
317 B
JavaScript
Raw Normal View History

2024-09-18 04:14:45 +00:00
const { register, verifyOTP, deleteUser } = require("../api/user.controller")
const { checkToken } = require("../auth/token_validation")
const router = require("express").Router()
router
.post("/addOneAppUser", register)
.post("/verify", verifyOTP)
.delete("/deleteUser", deleteUser)
module.exports = router