@resolveio/server-lib 3.0.4 → 3.1.0
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.
|
@@ -184,7 +184,7 @@ var MethodManager = /** @class */ (function () {
|
|
|
184
184
|
message_id: sendItem.data.messageId,
|
|
185
185
|
response: sendItem.data,
|
|
186
186
|
method: sendItem.method,
|
|
187
|
-
|
|
187
|
+
date: sendItem.date
|
|
188
188
|
});
|
|
189
189
|
}
|
|
190
190
|
else {
|
|
@@ -517,7 +517,7 @@ var MethodManager = /** @class */ (function () {
|
|
|
517
517
|
method: method,
|
|
518
518
|
methodData: methodData,
|
|
519
519
|
data: data,
|
|
520
|
-
|
|
520
|
+
date: messageDate
|
|
521
521
|
});
|
|
522
522
|
};
|
|
523
523
|
MethodManager.prototype.sendEmail = function (sendTo, subject, text, html, attachments, send_from) {
|
package/package.json
CHANGED
package/server-app.js
CHANGED
|
@@ -459,7 +459,8 @@ var ResolveIOMainServer = /** @class */ (function () {
|
|
|
459
459
|
method_response_collection_1.MethodResponses.findOne({ $and: [
|
|
460
460
|
{ id_user: ws['id_user'] },
|
|
461
461
|
{ message_id: messageId },
|
|
462
|
-
{ method: method }
|
|
462
|
+
{ method: method },
|
|
463
|
+
{ date: messageDate }
|
|
463
464
|
] }).exec(function (err, res) {
|
|
464
465
|
if (res) {
|
|
465
466
|
if (ws && ws.readyState === ws.OPEN) {
|
|
@@ -606,7 +607,8 @@ var ResolveIOMainServer = /** @class */ (function () {
|
|
|
606
607
|
method_response_collection_1.MethodResponses.findOne({ $and: [
|
|
607
608
|
{ id_user: ws['id_user'] },
|
|
608
609
|
{ message_id: messageId },
|
|
609
|
-
{ method: method }
|
|
610
|
+
{ method: method },
|
|
611
|
+
{ date: messageDate }
|
|
610
612
|
] }).exec(function (err, res) {
|
|
611
613
|
if (res) {
|
|
612
614
|
if (ws && ws.readyState === ws.OPEN) {
|