diff --git a/src/libs/actions/Session.js b/src/libs/actions/Session.js index abb06fe2cc3f..891d9b01768d 100644 --- a/src/libs/actions/Session.js +++ b/src/libs/actions/Session.js @@ -143,7 +143,7 @@ function fetchAccountDetails(login) { * re-authenticating after an authToken expires. * * @param {String} authToken - * @param {String} encryptedAuthToken + * @param {String} encryptedAuthToken – Not required for the CreateLogin API call, but passed to setSuccessfulSignInData * @param {String} email */ function createTemporaryLogin(authToken, encryptedAuthToken, email) { diff --git a/src/libs/addEncryptedAuthTokenToURL.js b/src/libs/addEncryptedAuthTokenToURL.js index d7a06b6745f2..82c4c1ac640f 100644 --- a/src/libs/addEncryptedAuthTokenToURL.js +++ b/src/libs/addEncryptedAuthTokenToURL.js @@ -9,7 +9,7 @@ Onyx.connect({ }); /** - * Add encryptedAuthToken to this attachment URL if necessary + * Add encryptedAuthToken to this attachment URL * * @param {String} url * @returns {String} diff --git a/src/libs/migrations/AddEncryptedAuthToken.js b/src/libs/migrations/AddEncryptedAuthToken.js index fe7730e26d81..24660b4f3a91 100644 --- a/src/libs/migrations/AddEncryptedAuthToken.js +++ b/src/libs/migrations/AddEncryptedAuthToken.js @@ -30,7 +30,7 @@ export default function () { return reauthenticate('Onyx_Migration_AddEncryptedAuthToken') .then(() => { console.debug('[Migrate Onyx] Ran migration AddEncryptedAuthToken'); - resolve(); + return resolve(); }); }