Skip to content

Conversation

filipecabaco
Copy link
Member

What kind of change does this PR introduce?

Close fetch response on HTTP broadcast sent

Comment on lines 466 to 470
if (response.ok) {
return 'ok'
} else {
return 'error'
await response.body?.cancel()
return response.ok ? 'ok' : 'error'
}
} catch (error: any) {
Copy link
Contributor

Choose a reason for hiding this comment

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

indentation 😬

Copy link
Contributor

Choose a reason for hiding this comment

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

and need remove if

@filipecabaco filipecabaco merged commit 005cf12 into master Jun 28, 2024
@filipecabaco filipecabaco deleted the fix/close-fetch-response-stream branch June 28, 2024 11:33
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.

2 participants