Skip to content

Commit 5a927af

Browse files
committed
Merge branch 'master' into deployment
merge
2 parents 532b17a + 6549e9b commit 5a927af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ app.get('/recent', (req, res) => {
6262
app.get('/:uuid', (req, res) => {
6363
loadDatabase((allItems) => {
6464
const match = searchDatabase(req.params, allItems)[0];
65-
if (match.length === 0) {
65+
if (match === undefined) {
6666
logScanned(req.params.uuid);
6767
res.status(404).render('notFound', {
6868
item: '',

0 commit comments

Comments
 (0)