@indra.ai/deva.license 0.0.3 → 0.0.4
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/index.js +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -216,7 +216,7 @@ const LICENSE = new Deva({
|
|
|
216
216
|
},
|
|
217
217
|
onReady(data, resolve) {
|
|
218
218
|
const {concerns, global, personal} = this.license(); // get the license config
|
|
219
|
-
this.vars.license = personal
|
|
219
|
+
this.vars.license = personal || false; // set the license into local vars
|
|
220
220
|
|
|
221
221
|
const {uri,database} = global.mongo; // set the datase
|
|
222
222
|
|