Skip to content

Commit

Permalink
BugFix buscador muestra proyectos eliminados tambien
Browse files Browse the repository at this point in the history
  • Loading branch information
guillecro committed Sep 28, 2023
1 parent 3fd7af9 commit 9b11f77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/api-v2/topics/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ app.get('/topics/tags',
})

app.get('/topics/find-all-proyectos', (req, res, next) => {
apiV1.topic.search({'attrs.state': 'proyecto'}, (err, topics) => res.status(200).json(topics))
apiV1.topic.search({'attrs.state': 'proyecto', 'deletedAt': { '$exists': false } },(err, topics) => res.status(200).json(topics))
})

app.get('/topics/:id',
Expand Down

0 comments on commit 9b11f77

Please sign in to comment.