diff --git a/backend/src/routes/api/staff.js b/backend/src/routes/api/staff.js index f53faece..9a6dde97 100644 --- a/backend/src/routes/api/staff.js +++ b/backend/src/routes/api/staff.js @@ -1,10 +1,14 @@ import { Router } from "express"; import retrieveAuthorisedStaffList from "../../db/daos/staffDao"; -import AccessLevel from "../../../../frontend/src/enums/route.access.level"; const router = Router(); const HTTP_OK = 200; +const AccessLevel = { + STAFF: "staff", + USER: "user" +} + // retrieve all authorised staff users router.get("/:firebaseID", async (req, res) => { const staff = await retrieveAuthorisedStaffList(req.params.firebaseID);