12 lines
317 B
JavaScript
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
|