@resolveio/server-lib 5.0.15 → 5.0.16
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.
|
@@ -119,7 +119,7 @@ var QueueMethodManager = /** @class */ (function () {
|
|
|
119
119
|
id_ws: id_ws,
|
|
120
120
|
messageId: messageId,
|
|
121
121
|
method: method,
|
|
122
|
-
method_data: data,
|
|
122
|
+
method_data: JSON.stringify(data),
|
|
123
123
|
id_user: id_user,
|
|
124
124
|
user: user,
|
|
125
125
|
date: messageDate,
|
|
@@ -158,6 +158,7 @@ var QueueMethodManager = /** @class */ (function () {
|
|
|
158
158
|
case 2:
|
|
159
159
|
if (!(i < updates.length)) return [3 /*break*/, 6];
|
|
160
160
|
update = updates[i];
|
|
161
|
+
update.method_data = JSON.parse(update.method_data, common_1.dateReviver);
|
|
161
162
|
return [4 /*yield*/, this._mainServer.getMethodManager().callMethodQueue(update)];
|
|
162
163
|
case 3:
|
|
163
164
|
_a.sent();
|