Compare commits

..

No commits in common. "38bc0c55c821c2ecd0699353071b2f8851f099aa" and "fb644b6f7b90e778ea722481bce46c5b30844d57" have entirely different histories.

3 changed files with 3 additions and 13 deletions

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "multi-stub",
"version": "1.1.0",
"version": "1.0.1",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "multi-stub",
"version": "1.1.0",
"version": "1.0.1",
"license": "MIT",
"dependencies": {
"axios": "^1.7.9",

View File

@ -1,6 +1,6 @@
{
"name": "multi-stub",
"version": "1.1.0",
"version": "1.0.1",
"description": "",
"main": "index.js",
"scripts": {

View File

@ -21,14 +21,4 @@ router.post('/', requiredValidate('title'), async (req, res) => {
res.send(getAnswer(null, list))
})
router.get('/list', async (req, res) => {
const items = await ListModel
.find({})
.populate('items')
.exec()
res.send(getAnswer(null, items))
})
module.exports = router