Skip to content

Commit 63ce41a

Browse files
committed
fix(acms): Updates insertRecapBannerIfAvailable to use const
1 parent 03b8f8c commit 63ce41a

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

src/appellate/appellate.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,10 @@ AppellateDelegate.prototype.handleAcmsDownloadPage = async function () {
558558
return { docketEntryData, documentData };
559559
};
560560

561-
insertRecapBannerIfAvailable = async (docketEntryData, documentData) => {
561+
const insertRecapBannerIfAvailable = async (
562+
docketEntryData,
563+
documentData
564+
) => {
562565
// Queries the RECAP archive for the document and inserts a download
563566
// banner if a copy is available.
564567
const clCourt = PACER.convertToCourtListenerCourt(this.court);
@@ -605,7 +608,7 @@ AppellateDelegate.prototype.handleAcmsDownloadPage = async function () {
605608

606609
// Insert the banner inside the centered wrapper
607610
insertAvailableDocBanner(result.filepath_local, wrapper);
608-
};;
611+
};
609612

610613
async function startUploadProcess() {
611614
// This function initiates the upload process for a PDF document

0 commit comments

Comments
 (0)