almost work it

This commit is contained in:
Leifer Mendez
2022-11-22 21:45:00 +01:00
parent c40c0c54bd
commit 368bf29e63
4 changed files with 52 additions and 27 deletions

View File

@@ -3,7 +3,7 @@ const { generateRefSerialize } = require('../../utils/hash')
/**
* Crear referencia serializada
* @param {*} flowJson
* @returns
* @returns array[]
*/
const toSerialize = (flowJson) => {
if (!Array.isArray(flowJson)) throw new Error('Esto debe ser un ARRAY')