lib/libIlias.js
@@ -35,6 +35,7 @@ token: iliastoken, }) let url2 = `${url}?${sp.toString()}` console.log("pinging url", url2) const res = await fetch(url2, {method: "GET"}) return await res.json() // } @@ -84,6 +85,7 @@ const udfDef = await db.getUdf() const udfMap = _.keyBy(udfDef, "field_name") // console.dir(udfMap, {depth: null, colors: true, maxArrayLength: null}) user.udf = _.mapKeys(user.udf, function (value, key) { return udfMap[key].field_id })