Regenerate configs improvements

- Fix certificates
- Adds dry run
- code cleanup
This commit is contained in:
Jamie Curnow committed 2026-03-03 08:44:42 +10:00
1 parent f1e95c9c52
commit eb67b3bfb6
9 files changed
+99 -81

No files matched your search

+2 -2
View File
@@ -194,7 +194,7 @@ const internalDeadHost = {
.query()
.where("is_deleted", 0)
.andWhere("id", data.id)
.allowGraph("[owner,certificate]")
.allowGraph(deadHostModel.defaultAllowGraph)
.first();
if (accessData.permission_visibility !== "all") {
@@ -347,7 +347,7 @@ const internalDeadHost = {
.query()
.where("is_deleted", 0)
.groupBy("id")
.allowGraph("[owner,certificate]")
.allowGraph(deadHostModel.defaultAllowGraph)
.orderBy(castJsonIfNeed("domain_names"), "ASC");
if (accessData.permission_visibility !== "all") {