- Added some school methods but will need to refactor the model calls

This commit is contained in:
Alexis
2020-06-06 23:35:11 +02:00
parent 3dbb95ab4d
commit ce9018f65e
6 changed files with 309 additions and 228 deletions

View File

@@ -143,7 +143,7 @@ router.delete('/:id/', async (req, res) => {
})
// Param validation for single spell
// Param validation for ID
// (check if id is int) (could be refactored)
router.param('id', (req, res, next, id) => {
try {