@glissandoo/lib 1.88.0 → 1.88.1
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/models/User/index.d.ts +1 -1
- package/models/User/index.js +1 -1
- package/package.json +1 -1
package/models/User/index.d.ts
CHANGED
package/models/User/index.js
CHANGED
|
@@ -167,7 +167,7 @@ class User extends basic_1.default {
|
|
|
167
167
|
return (0, objects_1.mapToArray)(this.devices);
|
|
168
168
|
}
|
|
169
169
|
get analyticsEnabled() {
|
|
170
|
-
return this.data.analyticsEnabled
|
|
170
|
+
return (0, lodash_1.isBoolean)(this.data.analyticsEnabled) ? this.data.analyticsEnabled : true;
|
|
171
171
|
}
|
|
172
172
|
}
|
|
173
173
|
exports.default = User;
|