fix: change variable declaration from let to const for output in pickSchemaFields function
This commit is contained in:
@@ -26,7 +26,7 @@ export function pickSchemaFields(
|
||||
},
|
||||
};
|
||||
|
||||
let out = structuredClone(definicion);
|
||||
const out = structuredClone(definicion);
|
||||
|
||||
// Si piden campos, filtramos propiedades/required a esos campos
|
||||
const entries = Object.entries(out.properties).filter(([k]) =>
|
||||
|
||||
Reference in New Issue
Block a user