Fix backend linting

This commit is contained in:
Jamie Curnow
2026-05-13 13:40:06 +10:00
parent c17475968f
commit 7d58c579fa
8 changed files with 25 additions and 25 deletions
+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