@equinor/fusion
Advanced tools
Comparing version 0.1.52 to 0.1.53
@@ -138,3 +138,5 @@ import AuthApp from "./AuthApp"; | ||
const resourceOrigin = AuthContainer.getResourceOrigin(resource); | ||
const app = this.apps.find(app => app.resources.indexOf(resourceOrigin) !== -1 || app.clientId === resourceOrigin); | ||
const app = this.apps.find(app => app.resources.indexOf(resourceOrigin) !== -1 || | ||
app.clientId === resourceOrigin || | ||
app.clientId === resource); | ||
if (typeof app === "undefined") { | ||
@@ -141,0 +143,0 @@ return null; |
{ | ||
"name": "@equinor/fusion", | ||
"version": "0.1.52", | ||
"version": "0.1.53", | ||
"description": "Everything a Fusion app needs to communicate with the core", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
118667
2751