fix: credentials bugfix

Signed-off-by: allanice001 <allanice001@gmail.com>
This commit is contained in:
allanice001
2025-11-10 14:41:16 +00:00
parent c4fd344364
commit 01b48efba0
2 changed files with 10 additions and 10 deletions

View File

@@ -152,7 +152,7 @@ const updateCredentialSchema = createCredentialSchema.partial().extend({
function pretty(obj: unknown) {
try {
return JSON.stringify(obj, null, 2)
return JSON.stringify(JSON.parse(obj), null, 2)
} catch {
return ""
}