Skip to content
This repository was archived by the owner on Oct 9, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants