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

+2 -2
View File
@@ -241,7 +241,7 @@ const internalAccessList = {
let row = await query.then(utils.omitRow(omissions()));
if (!row || !row.id) {
if (!row?.id) {
throw new errs.ItemNotFoundError(thisData.id);
}
if (!skipMasking && typeof row.items !== "undefined" && row.items) {
@@ -268,7 +268,7 @@ const internalAccessList = {
expand: ["proxy_hosts", "items", "clients"],
});
if (!row || !row.id) {
if (!row?.id) {
throw new errs.ItemNotFoundError(data.id);
}