Skip to content
This repository was archived by the owner on Mar 19, 2026. It is now read-only.

Commit 8c0e4c9

Browse files
committed
fixing full profile field names
1 parent a502257 commit 8c0e4c9

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

lib/oauth2.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ Strategy.prototype._convertScopeToUserProfileFields = function(scope, profileFie
8383
],
8484
'r_emailaddress': ['email-address'],
8585
'r_fullprofile': [
86-
'last-modified-timstamp',
87-
'first-proposal-comments',
86+
'last-modified-timestamp',
87+
'proposal-comments',
8888
'associations',
8989
'interests',
9090
'publications',
@@ -104,7 +104,7 @@ Strategy.prototype._convertScopeToUserProfileFields = function(scope, profileFie
104104
'job-bookmarks',
105105
'suggestions',
106106
'date-of-birth',
107-
'member-url-resources:(name, url)',
107+
'member-url-resources:(name,url)',
108108
'related-profile-views',
109109
'honors-awards'
110110
]

test/strategy.tests.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -176,8 +176,8 @@ describe.only('LinkedIn Strategy', function () {
176176
'site-standard-profile-request,'+
177177
'api-standard-profile-request:(headers,url),'+
178178
'public-profile-url,'+
179-
'last-modified-timstamp,'+
180-
'first-proposal-comments,'+
179+
'last-modified-timestamp,'+
180+
'proposal-comments,'+
181181
'associations,'+
182182
'interests,'+
183183
'publications,'+
@@ -197,7 +197,7 @@ describe.only('LinkedIn Strategy', function () {
197197
'job-bookmarks,'+
198198
'suggestions,'+
199199
'date-of-birth,'+
200-
'member-url-resources:(name, url),'+
200+
'member-url-resources:(name,url),'+
201201
'related-profile-views,'+
202202
'honors-awards)');
203203
done();

0 commit comments

Comments
 (0)