ntk-cms-api 18.3.443 → 18.3.445

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.
@@ -1239,6 +1239,9 @@ class ApiServerBase {
1239
1239
  localStorage.removeItem(this.keyDeviceToken);
1240
1240
  }
1241
1241
  getHeaders() {
1242
+ let dateTime = new Date();
1243
+ this.headers.set('DateTime', dateTime + '');
1244
+ this.headers.set('DateTimeZone', dateTime.getTimezoneOffset() + '');
1242
1245
  /*Authorization*/
1243
1246
  if (this.getUserToken() && this.getUserToken().length > 1) {
1244
1247
  this.headers.set('Authorization', this.getUserToken());