fix(check): clean up extension rename fallout

This commit is contained in:
Vincent Koc
2026-04-06 15:18:08 +01:00
parent e6df924a34
commit da14745f2e
13 changed files with 20 additions and 24 deletions

View File

@@ -204,7 +204,7 @@ export const nextcloudTalkSetupAdapter: ChannelSetupAdapter = {
validateInput: createSetupInputPresenceValidator({
defaultAccountOnlyEnvError:
"NEXTCLOUD_TALK_BOT_SECRET can only be used for the default account.",
validate: ({ _accountId, input }) => {
validate: ({ input }) => {
const setupInput = input as NextcloudSetupInput;
if (!setupInput.useEnv && !setupInput.secret && !setupInput.secretFile) {
return "Nextcloud Talk requires bot secret or --secret-file (or --use-env).";