Skip to content

Commit c82cc92

Browse files
committed
fix approved state
1 parent 29b7932 commit c82cc92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,7 @@ export function startPdfPolling(ctx: Context) {
545545
try {
546546
const response = await ctx.client.fetchPdfResults(ctx);
547547

548-
if (response.screenshots && response.build?.build_status === constants.BUILD_COMPLETE) {
548+
if (response.screenshots && response.build?.build_status !== constants.BUILD_RUNNING) {
549549
clearInterval(interval);
550550

551551
const pdfGroups = groupScreenshotsByPdf(response.screenshots);

0 commit comments

Comments
 (0)