mirror of
https://github.com/GlueOps/autoglue.git
synced 2026-02-13 12:50:05 +01:00
fix: credentials bugfix
Signed-off-by: allanice001 <allanice001@gmail.com>
This commit is contained in:
@@ -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 ""
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user