style: fix linting issues met ESLint
This commit is contained in:
parent
81bbe84dfd
commit
74765577d5
26 changed files with 73 additions and 73 deletions
|
@ -1,7 +1,7 @@
|
|||
import express from 'express'
|
||||
const router = express.Router();
|
||||
|
||||
// root endpoint used to search objects
|
||||
// Root endpoint used to search objects
|
||||
router.get('/', (req, res) => {
|
||||
res.json({
|
||||
classes: [
|
||||
|
@ -11,7 +11,7 @@ router.get('/', (req, res) => {
|
|||
});
|
||||
});
|
||||
|
||||
// information about an class with id 'id'
|
||||
// Information about an class with id 'id'
|
||||
router.get('/:id', (req, res) => {
|
||||
res.json({
|
||||
id: req.params.id,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue