From cf8ec7ee4b1848c9aba022d4dcc63180542ff365 Mon Sep 17 00:00:00 2001 From: Rory Abraham Date: Fri, 18 Jun 2021 09:46:58 -0700 Subject: [PATCH] Fix NAB comments --- src/libs/actions/Session.js | 2 +- src/libs/addEncryptedAuthTokenToURL.js | 2 +- src/libs/migrations/AddEncryptedAuthToken.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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(); }); }