ntk-cms-api 18.3.444 → 18.3.446
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/esm2020/lib/models/entity/sms/smsLogOutBoxQueueModel.mjs +1 -1
- package/esm2020/lib/service/base/apiServerBase.service.mjs +4 -1
- package/fesm2015/ntk-cms-api.mjs +3 -0
- package/fesm2015/ntk-cms-api.mjs.map +1 -1
- package/fesm2020/ntk-cms-api.mjs +3 -0
- package/fesm2020/ntk-cms-api.mjs.map +1 -1
- package/lib/models/entity/sms/smsLogOutBoxQueueModel.d.ts +1 -0
- package/package.json +1 -1
package/fesm2020/ntk-cms-api.mjs
CHANGED
|
@@ -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('Date-Time', dateTime);
|
|
1244
|
+
this.headers.set('Date-Time-Zone', dateTime.getTimezoneOffset());
|
|
1242
1245
|
/*Authorization*/
|
|
1243
1246
|
if (this.getUserToken() && this.getUserToken().length > 1) {
|
|
1244
1247
|
this.headers.set('Authorization', this.getUserToken());
|