Skip to content

Commit

Permalink
try prod
Browse files Browse the repository at this point in the history
  • Loading branch information
Gonals committed Mar 7, 2025
1 parent d9864eb commit 2264206
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/actions/Report.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4685,7 +4685,7 @@ function exportReportToPDF({reportID}: ExportReportPDFParams) {
function downloadReportPDF(fileName: string, reportName: string) {
const baseURL = addTrailingForwardSlash(getOldDotURLFromEnvironment(environment));

Check failure on line 4686 in src/libs/actions/Report.ts

View workflow job for this annotation

GitHub Actions / Changed files ESLint check

'baseURL' is assigned a value but never used

Check failure on line 4686 in src/libs/actions/Report.ts

View workflow job for this annotation

GitHub Actions / ESLint check

'baseURL' is assigned a value but never used
const downloadFileName = `${reportName}.pdf`;
const pdfURL = `https://staging.expensify.com/secure?secureType=pdfreport&filename=${fileName}&downloadName=${downloadFileName}`;
const pdfURL = `https://www.expensify.com/secure?secureType=pdfreport&filename=${fileName}&downloadName=${downloadFileName}`;
setDownload(downloadFileName, true);
fileDownload(pdfURL, downloadFileName, '', Browser.isMobileSafari()).then(() => setDownload(downloadFileName, false));
}
Expand Down

0 comments on commit 2264206

Please sign in to comment.