feat: make notifyBotToken/adminUserId optional

The client never sends pairing notifications (the server does); these
Discord fields were required but unused. Make them optional + drop from
the config schema's required list. Back-compat: still accepted if set.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
h z
2026-05-19 15:59:08 +01:00
parent c3c11c1b27
commit d0b19cf116
3 changed files with 22 additions and 14 deletions

View File

@@ -14,6 +14,6 @@
"notifyBotToken": { "type": "string" },
"adminUserId": { "type": "string" }
},
"required": ["mainHost", "identifier", "notifyBotToken", "adminUserId"]
"required": ["mainHost", "identifier"]
}
}