From fff3b00bfe34466dc723e621b071d633a01cebad Mon Sep 17 00:00:00 2001 From: Eugene Obrezkov Date: Wed, 30 Sep 2015 14:34:45 +0300 Subject: [PATCH] Add comments --- src/index.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/index.js b/src/index.js index e024dcf..32f8711 100644 --- a/src/index.js +++ b/src/index.js @@ -156,6 +156,12 @@ export default class FacebookTokenStrategy extends OAuth2Strategy { }); } + /** + * Converts array of fields to string + * @param {Array} _profileFields Profile fields i.e. ['id', 'email'] + * @returns {String} + * @private + */ _convertProfileFields(_profileFields) { let profileFields = _profileFields || []; let fields = [];