Skip to content

Conversation

@emericklaw
Copy link
Member

Proposed Changes

For a while now I have had issues getting 'invalid JSON' responses when using httpFetch. This change fixes it.
In the past I was having to add .slice(0, -1).

  • Fix null being added to the end of httpFetch responses
  • Add length to return response

Types of Changes

Bugfix and new feature

Verification

JSON can now be downloaded and successfully parsed by JSON.parse().

Testing

Linked Issues

User-Facing Change


Further Comments

@emericklaw emericklaw changed the base branch from main to dev January 10, 2026 17:22
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.

1 participant