@optimiser/common 1.0.253 → 1.0.254
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/dist/lib/utility.js +1 -1
- package/package.json +1 -1
package/dist/lib/utility.js
CHANGED
|
@@ -2615,7 +2615,7 @@ paratemter : {
|
|
|
2615
2615
|
function SignoutUserFromAllDevices(options, dbMaster, redisClient) {
|
|
2616
2616
|
if (dbMaster) {
|
|
2617
2617
|
var updateQuery_1 = { "IsActive": false, "Description": options.Description, "ModifiedBy": options.RemovedBy, "ModifiedDate": new Date() };
|
|
2618
|
-
dbMaster.collection('Session').find({ "UserID": options.UserID, "IsActive": true }, { projection: { "_id": 0, "SessionKey": 1 } }).toArray(function (err, data) {
|
|
2618
|
+
dbMaster.collection('Session').find({ "UserID": options.UserID, "IsActive": true }, { projection: { "_id": 0, "SessionKey": 1, "Platform": 1 } }).toArray(function (err, data) {
|
|
2619
2619
|
if (err) {
|
|
2620
2620
|
if (options.callback)
|
|
2621
2621
|
options.callback({ message: 'error', error: err });
|