zocrmsdkmiblu 0.2.6 → 0.2.7
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/lib/js/OAuth.js +1 -3
- package/package.json +1 -1
package/lib/js/OAuth.js
CHANGED
|
@@ -16,9 +16,7 @@ var mand_configurations = {
|
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
var OAuth = function (configuration,action) {
|
|
19
|
-
if (!configuration)
|
|
20
|
-
console.log(configuration);
|
|
21
|
-
throw new Error('Missing configuration for Zoho OAuth2 service');
|
|
19
|
+
if (!configuration) throw new Error('Missing configuration for Zoho OAuth2 service');
|
|
22
20
|
assertConfigAttributesAreSet(configuration, mand_configurations[action]);
|
|
23
21
|
config = configuration;
|
|
24
22
|
};
|