Skip to content

Remove call to document_capture_errors endpoint#8540

Merged
matthinz merged 1 commit intomainfrom
matthinz/remove-doc-capture-errors-call
Jun 6, 2023
Merged

Remove call to document_capture_errors endpoint#8540
matthinz merged 1 commit intomainfrom
matthinz/remove-doc-capture-errors-call

Conversation

@matthinz
Copy link
Contributor

@matthinz matthinz commented Jun 6, 2023

Looks like this endpoint was removed in #8377, and I'm seeing 404s in our logs from users still making this API call.

[skip changelog]

Looks like this endpoint was removed in #8377, and I'm seeing 404s in our logs from users still making this API call.

[skip changelog]
}),
]);
function skipAttention() {
trackEvent('IdV: barcode warning continue clicked');
Copy link
Contributor Author

@matthinz matthinz Jun 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(trackEvent is no longer async, so this whole function can be made non-async)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we also make the SpinnerButton that calls it a regular Button now as well, @matthinz ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure thing, I'll follow up with a new PR

Copy link
Contributor

@zachmargolis zachmargolis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@matthinz matthinz merged commit 9ed29a3 into main Jun 6, 2023
@matthinz matthinz deleted the matthinz/remove-doc-capture-errors-call branch June 6, 2023 18:27
matthinz added a commit that referenced this pull request Jun 6, 2023
Quick follow-on to #8540 to address @aduth's feedback. Replace a <SpinnerButton> with a regular <Button> now that its onclick handler is not async.

[skip changelog]
matthinz added a commit that referenced this pull request Jun 7, 2023
Quick follow-on to #8540 to address @aduth's feedback. Replace a <SpinnerButton> with a regular <Button> now that its onclick handler is not async.

[skip changelog]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants