diff --git a/CHANGELOG.md b/CHANGELOG.md index 9809b98..f401911 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ ## v. 2.3.3 - 10.11.2021 * Upgrade eslint-parser -* +* Fix wrong uppercase in the word `linkedIn` for `pauli:linkedin-oauth` ## v. 2.3.2 - 8.2.2021 * Fix bugs in MS Office connector diff --git a/community-services/linkedin.js b/community-services/linkedin.js index 15a1ff8..4d0f0eb 100644 --- a/community-services/linkedin.js +++ b/community-services/linkedin.js @@ -26,7 +26,7 @@ Meteor.linkWithLinkedIn = function (options, callback) { const credentialRequestCompleteCallback = Accounts.oauth.linkCredentialRequestCompleteHandler(callback) if (Package['pauli:linkedin-oauth']) { - Package['pauli:linkedin-oauth'].LinkedIn.requestCredential(options, credentialRequestCompleteCallback) + Package['pauli:linkedin-oauth'].Linkedin.requestCredential(options, credentialRequestCompleteCallback) } else if (Package['jonperl:linkedin']) { Package['jonperl:linkedin'].LinkedIn.requestCredential(options, credentialRequestCompleteCallback) }