mirror of
https://github.com/moltbot/moltbot.git
synced 2026-05-13 15:47:28 +00:00
fix(gateway): satisfy node registry lint
This commit is contained in:
@@ -271,11 +271,11 @@ export class NodeRegistry {
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
const approvedValue = surface.permissions?.[key];
|
const approvedValue = surface.permissions?.[key];
|
||||||
if (approvedValue === true) {
|
if (approvedValue) {
|
||||||
nextEntries.push([key, true]);
|
nextEntries.push([key, true]);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (approvedValue === false) {
|
if (approvedValue !== undefined) {
|
||||||
nextEntries.push([key, false]);
|
nextEntries.push([key, false]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user