Skip to content

Commit 60e4ca9

Browse files
committed
fix: poll for reportLink in accessibility scan (AIMCP-170)
1 parent 4e3cb10 commit 60e4ca9

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/tools/accessiblity-utils/report-fetcher.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,9 @@ export class AccessibilityReportFetcher {
5151
for (let attempt = 1; attempt <= maxAttempts; attempt++) {
5252
const reportResp = await apiClient.get({
5353
url: reportUrl,
54-
headers: basicAuthHeader ? { Authorization: basicAuthHeader } : undefined,
54+
headers: basicAuthHeader
55+
? { Authorization: basicAuthHeader }
56+
: undefined,
5557
});
5658
const reportData: ReportResponse = reportResp.data;
5759
if (!reportData.success) {

0 commit comments

Comments
 (0)