Created
October 21, 2019 20:26
-
-
Save saman-ghm/1ceb61d7ec56ff7a3d62fe6f1fbe4674 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Router } from "express"; | |
import { checkAuthToken } from "../middlewares/checkAuthToken"; | |
import UserController from "../controllers/UserController" | |
const router = Router(); | |
router.get("/check", [ checkAuthToken ], UserController.check); | |
export default router; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment