owl-cli 6.162.0 → 6.163.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.
@@ -249,7 +249,11 @@ function isSubOrg(data, orgId){
249
249
  if(orgId == '0'){
250
250
  return true;
251
251
  }
252
- var org = owl_orgsService.get(data._orgId);
252
+ var _orgId = data._orgId;
253
+ if(data._t == "owl_orgs" ){
254
+ _orgId = data.id;
255
+ }
256
+ var org = owl_orgsService.get(_orgId);
253
257
  if(!org || !org.parentPathIds){
254
258
  return false;
255
259
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "owl-cli",
3
- "version": "6.162.0",
3
+ "version": "6.163.0",
4
4
  "main": "index.js",
5
5
  "preferGlobal": true,
6
6
  "bin": {