We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 84ae60d + 4719f00 commit 6549e9bCopy full SHA for 6549e9b
1 file changed
app.js
@@ -62,7 +62,7 @@ app.get('/recent', (req, res) => {
62
app.get('/:uuid', (req, res) => {
63
loadDatabase((allItems) => {
64
const match = searchDatabase(req.params, allItems)[0];
65
- if (match.length === 0) {
+ if (match === undefined) {
66
logScanned(req.params.uuid);
67
res.status(404).render('notFound', {
68
item: '',
0 commit comments