primarycare-binder 1.1.54 → 1.1.55
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +4 -2
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -25560,9 +25560,11 @@ var generateJSON$5 = function generateJSON(data) {
|
|
|
25560
25560
|
|
|
25561
25561
|
if (data.statushistory) {
|
|
25562
25562
|
statushistory.map(function (val) {
|
|
25563
|
-
|
|
25563
|
+
if (typeof val.PersonID !== "string") {
|
|
25564
|
+
var _val$PersonID, _val$PersonID$;
|
|
25564
25565
|
|
|
25565
|
-
|
|
25566
|
+
val.PersonID = val === null || val === void 0 ? void 0 : (_val$PersonID = val.PersonID) === null || _val$PersonID === void 0 ? void 0 : (_val$PersonID$ = _val$PersonID[0]) === null || _val$PersonID$ === void 0 ? void 0 : _val$PersonID$._id;
|
|
25567
|
+
}
|
|
25566
25568
|
});
|
|
25567
25569
|
}
|
|
25568
25570
|
|