From 16020a51ba1f674be3570b239ce273d90eff68b0 Mon Sep 17 00:00:00 2001 From: Jack Nam Date: Thu, 10 Mar 2022 16:43:47 -0800 Subject: [PATCH] Update statement URLS --- src/libs/actions/User.js | 2 +- src/pages/wallet/WalletStatementPage.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libs/actions/User.js b/src/libs/actions/User.js index 03c98b4d3c43..657558bf6dfb 100644 --- a/src/libs/actions/User.js +++ b/src/libs/actions/User.js @@ -408,7 +408,7 @@ function downloadStatementPDF(period) { .then((response) => { if (response.jsonCode === 200 && response.filename) { const downloadFileName = `Expensify_Statement_${response.period}.pdf`; - const pdfURL = `${CONFIG.EXPENSIFY.URL_EXPENSIFY_COM}secure?secureType=pdfreport&filename=${response.filename}&downloadName=${downloadFileName}`; + const pdfURL = `${CONFIG.EXPENSIFY.EXPENSIFY_URL}secure?secureType=pdfreport&filename=${response.filename}&downloadName=${downloadFileName}`; fileDownload(pdfURL, downloadFileName); } else { diff --git a/src/pages/wallet/WalletStatementPage.js b/src/pages/wallet/WalletStatementPage.js index 7285e61f4538..5e58c365a1c9 100644 --- a/src/pages/wallet/WalletStatementPage.js +++ b/src/pages/wallet/WalletStatementPage.js @@ -37,7 +37,7 @@ const WalletStatementPage = (props) => { const month = yearMonth.substring(4) || moment().month(); const monthName = moment(month, 'M').format('MMMM'); const title = `${monthName} ${year} statement`; - const url = `${CONFIG.EXPENSIFY.URL_EXPENSIFY_COM}statement.php?period=${yearMonth}`; + const url = `${CONFIG.EXPENSIFY.EXPENSIFY_URL}statement.php?period=${yearMonth}`; return (