diff --git a/src/js/actions/FacebookActions.js b/src/js/actions/FacebookActions.js index 5840e068d..296b4a459 100644 --- a/src/js/actions/FacebookActions.js +++ b/src/js/actions/FacebookActions.js @@ -156,7 +156,7 @@ export default { } if (this.facebookApi()) { - const fbApiForInvitableFriends = '/me?fields=invitable_friends.limit(1000){name,id,picture.width(' + pictureWidthVerified + ').height(' + pictureHeightVerified + ')'; // eslint-disable-line + const fbApiForInvitableFriends = `/me?fields=invitable_friends.limit(1000){name,id,picture.width(${pictureWidthVerified}).height(${pictureHeightVerified})`; this.facebookApi().api( fbApiForInvitableFriends, (response) => { @@ -283,7 +283,7 @@ export default { // FB.getLoginStatus does an ajax call and when you call FB.login on it's response, the popup that would open // as a result of this call is blocked. A solution to this problem would be to to specify status: true in the // options object of FB.init and you need to be confident that login status has already loaded. - oAuthLog(__filename + ': this.facebookApi().login'); // eslint-disable-line + oAuthLog(`${__filename} this.facebookApi().login`); if (this.facebookApi()) { const innerThis = this;