fix(gateway): satisfy node registry lint

This commit is contained in:
Peter Steinberger
2026-05-13 16:04:00 +01:00
parent babd48b6cd
commit d540512d00

View File

@@ -271,11 +271,11 @@ export class NodeRegistry {
continue;
}
const approvedValue = surface.permissions?.[key];
if (approvedValue === true) {
if (approvedValue) {
nextEntries.push([key, true]);
continue;
}
if (approvedValue === false) {
if (approvedValue !== undefined) {
nextEntries.push([key, false]);
}
}