location controller updated with heading and created new models and controllers for remaining modules
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { Router } from "express";
|
||||
import {
|
||||
createOrEditProfileController,
|
||||
getProfileController,
|
||||
getOwnProfileController,
|
||||
} from "../controllers/profile.controller";
|
||||
import { authorize } from "../middlewares/jwt.middleware";
|
||||
|
||||
@@ -12,6 +12,6 @@ router.post(
|
||||
authorize("generic", "generic"),
|
||||
createOrEditProfileController,
|
||||
);
|
||||
router.get("/", authorize("generic", "generic"), getProfileController);
|
||||
router.get("/", authorize("generic", "generic"), getOwnProfileController);
|
||||
|
||||
export default router;
|
||||
|
||||
Reference in New Issue
Block a user