feat: add door_key field to items and update related logic in forms and database
This commit is contained in:
@@ -80,6 +80,7 @@ router.post(
|
||||
}
|
||||
);
|
||||
|
||||
// Route for API to open a door
|
||||
router.get("/open-door/:key/:doorKey", authenticate, async (req, res) => {
|
||||
const doorKey = req.params.doorKey;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user