Fix backend linting

This commit is contained in:
Jamie Curnow committed 2026-05-13 13:40:06 +10:00
1 parent c17475968f
commit 7d58c579fa
8 files changed
+25 -25

No files matched your search

+1 -1
View File
@@ -171,7 +171,7 @@ const internalUser = {
return query.then(utils.omitRow(omissions()));
})
.then((row) => {
if (!row || !row.id) {
if (!row?.id) {
throw new errs.ItemNotFoundError(thisData.id);
}
// Custom omissions