Skip to content
This repository was archived by the owner on Jul 6, 2022. It is now read-only.

Commit 3c499a3

Browse files
committed
Making wormhole updates allowed with a valid session only.
1 parent edd31c0 commit 3c499a3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎server/routes/map.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ router.route('/systems/:system_name')
2121
.get(map.show_system);
2222

2323
router.route('/jumps/:from_id/:to_id')
24-
.post(validate.headers, validate.session)
24+
.post(validate.session)
2525
.post(map.update_jump);
2626

2727
module.exports = router;

0 commit comments

Comments
 (0)