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

12 lines
317 B
JavaScript
Raw Normal View History

2024-09-16 05:00:58 +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