Don't stop polling report if response is not ok
Some checks are pending
continuous-integration/drone/push Build is running

Bug: https://github.com/happyDomain/happydeliver/issues/2
This commit is contained in:
nemunaire 2025-11-13 10:53:59 +07:00
commit 644dfda223

View file

@ -84,8 +84,8 @@
const reportResponse = await getReport({ path: { id: testId } });
if (reportResponse.data) {
report = reportResponse.data;
stopPolling();
}
stopPolling();
}
} else if (testResponse.error) {
handleApiError(testResponse.error, "Failed to fetch test");