@availity/api-core
Advanced tools
Comparing version 6.0.1 to 6.0.2
@@ -6,2 +6,13 @@ # Change Log | ||
## [6.0.2](https://github.com/Availity/sdk-js/compare/@availity/api-core@6.0.1...@availity/api-core@6.0.2) (2019-12-02) | ||
### Performance Improvements | ||
* **api-core:** use userId from params if it exists in getOrganizations ([5e5225f](https://github.com/Availity/sdk-js/commit/5e5225f)) | ||
## [6.0.1](https://github.com/Availity/sdk-js/compare/@availity/api-core@6.0.0...@availity/api-core@6.0.1) (2019-11-05) | ||
@@ -8,0 +19,0 @@ |
{ | ||
"name": "@availity/api-core", | ||
"version": "6.0.1", | ||
"version": "6.0.2", | ||
"description": "Base API definitions for the Availity REST API", | ||
@@ -24,3 +24,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "d4f3b135f86e42a9e013dfcee1595930be7bf860" | ||
"gitHead": "6fd302a43d133520d34e32f0e096b08431416eed" | ||
} |
@@ -26,5 +26,10 @@ import AvApi from '../api'; | ||
getOrganizations(config) { | ||
if (config && config.params && config.params.userId) { | ||
return this.query(config); | ||
} | ||
if (!this.avUsers || !this.avUsers.me) { | ||
throw new Error('avUsers must be defined'); | ||
} | ||
return this.avUsers | ||
@@ -31,0 +36,0 @@ .me() |
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
51256
933