@fluxhub/fluxhub-lib 9.0.108 → 9.0.110

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.
@@ -551,6 +551,7 @@ var UtilityService = /** @class */ (function () {
551
551
  UtilityService.prototype.insert_log = function (dt, app, k, descri, operazione, link, old_doc, new_doc) {
552
552
  if (link === void 0) { link = null; }
553
553
  if (old_doc === void 0) { old_doc = null; }
554
+ if (new_doc === void 0) { new_doc = null; }
554
555
  var diff = null;
555
556
  if (old_doc != null && new_doc != null)
556
557
  diff = getDiff(old_doc, new_doc, true);
@@ -558,7 +559,7 @@ var UtilityService = /** @class */ (function () {
558
559
  if (diff != null || link != null) {
559
560
  p.sql = "INSERT_LOG_N2";
560
561
  p.types = ['string', 'string', 'string', 'string', 'string', 'string'];
561
- p.values = [app, k, descri, operazione, JSON.stringify(link, diff)];
562
+ p.values = [app, k, descri, operazione, link, JSON.stringify(diff)];
562
563
  }
563
564
  else {
564
565
  p.sql = "INSERT_LOG_N";