Skip to content

Commit

Permalink
Implement iam for Personality Insights
Browse files Browse the repository at this point in the history
  • Loading branch information
chughts committed Jun 7, 2018
1 parent 4a70ca8 commit 009ac7b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions services/personality_insights/v3.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ module.exports = function (RED) {
VALID_INPUT_LANGUAGES = ['ar','en','es','ja'],
VALID_RESPONSE_LANGUAGES = ['ar','de','en','es','fr','it','ja','ko','pt-br','zh-cn','zh-tw'];

if (service) {
sUsername = service.username ? service.username : '';
sPassword = service.password ? service.password : '';
sApikey = service.apikey ? service.apikey : '';
sEndpoint = service.url;
}
if (service) {
sUsername = service.username ? service.username : '';
sPassword = service.password ? service.password : '';
sApikey = service.apikey ? service.apikey : '';
sEndpoint = service.url;
}

// This HTTP GET REST request is used by the browser side of the node to
// determine if credentials are found.
Expand Down

0 comments on commit 009ac7b

Please sign in to comment.