Operational Endpoints for Admin, Products, Assignments, Location, Vendor, Venue completed. Geofence Testing PEnding
This commit is contained in:
@@ -1,6 +1,12 @@
|
||||
import { Router } from "express";
|
||||
import { authorizeWithEncryptedKey } from "../middlewares/jwt.middleware";
|
||||
import { createLocationController } from "../controllers/location.controller";
|
||||
import {
|
||||
authorize,
|
||||
authorizeWithEncryptedKey,
|
||||
} from "../middlewares/jwt.middleware";
|
||||
import {
|
||||
createLocationController,
|
||||
getMyAssignedVenuesHandler,
|
||||
} from "../controllers/location.controller";
|
||||
|
||||
const router = new Router();
|
||||
|
||||
@@ -10,4 +16,10 @@ router.post(
|
||||
createLocationController,
|
||||
);
|
||||
|
||||
router.get(
|
||||
"/venues/assigned/me",
|
||||
authorize("generic", "generic"),
|
||||
getMyAssignedVenuesHandler,
|
||||
);
|
||||
|
||||
export default router;
|
||||
|
||||
Reference in New Issue
Block a user