@fluxhub/fluxhub-lib 9.0.104 → 9.0.105

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