@etsoo/smarterp-core 1.0.18 → 1.0.19

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.
@@ -122,7 +122,7 @@ class UserApi extends appscript_1.EntityApi {
122
122
  * @returns Result
123
123
  */
124
124
  updateRead(payload) {
125
- return this.api.put(`${this.flag}/UpdateRead`, undefined, payload);
125
+ return this.api.get(`${this.flag}/UpdateRead`, undefined, payload);
126
126
  }
127
127
  }
128
128
  exports.UserApi = UserApi;
@@ -119,6 +119,6 @@ export class UserApi extends EntityApi {
119
119
  * @returns Result
120
120
  */
121
121
  updateRead(payload) {
122
- return this.api.put(`${this.flag}/UpdateRead`, undefined, payload);
122
+ return this.api.get(`${this.flag}/UpdateRead`, undefined, payload);
123
123
  }
124
124
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etsoo/smarterp-core",
3
- "version": "1.0.18",
3
+ "version": "1.0.19",
4
4
  "description": "TypeScript APIs for SmartERP Core",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/mjs/index.js",
package/src/UserApi.ts CHANGED
@@ -158,6 +158,6 @@ export class UserApi extends EntityApi {
158
158
  * @returns Result
159
159
  */
160
160
  updateRead(payload?: IApiPayload<UserUpdateReadDto>) {
161
- return this.api.put(`${this.flag}/UpdateRead`, undefined, payload);
161
+ return this.api.get(`${this.flag}/UpdateRead`, undefined, payload);
162
162
  }
163
163
  }