@dhyasama/totem-models 6.21.2 → 6.21.3
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/lib/Person.js +1 -3
- package/package.json +3 -3
package/lib/Person.js
CHANGED
|
@@ -723,8 +723,6 @@ module.exports = function(mongoose, config) {
|
|
|
723
723
|
if (result.indexOf('in/') === 0) { result = result.replace('in/', ''); }
|
|
724
724
|
if (result.indexOf('/') >= 0) { result = result.split('/')[0]; }
|
|
725
725
|
|
|
726
|
-
console.log(val, '-->', result);
|
|
727
|
-
|
|
728
726
|
return result;
|
|
729
727
|
|
|
730
728
|
};
|
|
@@ -874,7 +872,7 @@ module.exports = function(mongoose, config) {
|
|
|
874
872
|
|
|
875
873
|
this
|
|
876
874
|
.find({ 'contact.email.email': { $in : emails }, 'deleted': {$ne: true}})
|
|
877
|
-
.select('name avatarUrl')
|
|
875
|
+
.select('name avatarUrl title doNotDisplay')
|
|
878
876
|
.exec(function (err, people) {
|
|
879
877
|
cb(err, _.sortBy(people, function(person) { return person.name.full; }));
|
|
880
878
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dhyasama/totem-models",
|
|
3
|
-
"version": "6.21.
|
|
3
|
+
"version": "6.21.3",
|
|
4
4
|
"author": "Jason Reynolds",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"description": "Models for Totem platform",
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
"@dhyasama/ffvc-crypto": "^1.0.0",
|
|
16
16
|
"@dhyasama/ffvc-geoip": "^1.0.0",
|
|
17
17
|
"@dhyasama/ffvc-s3": "^1.1.0",
|
|
18
|
-
"@dhyasama/ffvc-utilities": "^2.6.
|
|
19
|
-
"async": "^2.6.
|
|
18
|
+
"@dhyasama/ffvc-utilities": "^2.6.3",
|
|
19
|
+
"async": "^2.6.2",
|
|
20
20
|
"awesome-phonenumber": "^1.0.14",
|
|
21
21
|
"bcrypt": "^0.8.0",
|
|
22
22
|
"bluebird": "^3.5.3",
|