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

12 lines
317 B
JavaScript

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