From b07f210b5d9faa5ecc5134076e29e9fc37f395d2 Mon Sep 17 00:00:00 2001 From: Ved Prakash <54140516+thorved@users.noreply.github.com> Date: Thu, 9 Oct 2025 09:53:33 +0530 Subject: [PATCH] Fixes inconsistent key password property name (#384) Corrects the property name for key-based authentication from `key_password` to `keyPassword` to ensure consistency with the expected data structure. This resolves potential issues with mismatched property names during SSH host configuration. --- src/backend/database/routes/ssh.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/database/routes/ssh.ts b/src/backend/database/routes/ssh.ts index ca153157..6ccd50c2 100644 --- a/src/backend/database/routes/ssh.ts +++ b/src/backend/database/routes/ssh.ts @@ -1412,7 +1412,7 @@ router.post( hostData.authType === "credential" ? hostData.credentialId : null, key: hostData.authType === "key" ? hostData.key : null, key_password: - hostData.authType === "key" ? hostData.key_password : null, + hostData.authType === "key" ? hostData.keyPassword : null, keyType: hostData.authType === "key" ? hostData.keyType || "auto" : null, pin: hostData.pin || false,