@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.
@@ -683,6 +683,7 @@
683
683
  UtilityService.prototype.insert_log = function (dt, app, k, descri, operazione, link, old_doc, new_doc) {
684
684
  if (link === void 0) { link = null; }
685
685
  if (old_doc === void 0) { old_doc = null; }
686
+ if (new_doc === void 0) { new_doc = null; }
686
687
  var diff = null;
687
688
  if (old_doc != null && new_doc != null)
688
689
  diff = recursiveDiff.getDiff(old_doc, new_doc, true);
@@ -690,7 +691,7 @@
690
691
  if (diff != null || link != null) {
691
692
  p.sql = "INSERT_LOG_N2";
692
693
  p.types = ['string', 'string', 'string', 'string', 'string', 'string'];
693
- p.values = [app, k, descri, operazione, JSON.stringify(link, diff)];
694
+ p.values = [app, k, descri, operazione, link, JSON.stringify(diff)];
694
695
  }
695
696
  else {
696
697
  p.sql = "INSERT_LOG_N";