Skip to content

laji-form api client tries to pretend fetch better - #1092

Merged
Blodir merged 1 commit into
developmentfrom
laji-form-api-client-better-at-pretending-fetch-261012
Oct 27, 2026
Merged

Blodir merged 1 commit into
developmentfrom
laji-form-api-client-better-at-pretending-fetch-261012

Conversation

@olzraiti

@olzraiti olzraiti commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

Attempt at fixing #1091

The error message comes from here:

https://github.com/luomus/laji-form/blob/7805b654c274d71bf5c58ba967dfc43b7ffa86c5/src/ApiClient.ts#L265

This PR makes the form client to have the text() method in the built response object, as fetch response should have it.

@Blodir Blodir self-assigned this Oct 26, 2026
@Blodir
Blodir merged commit 3a22c4a into development Oct 27, 2026
1 check passed
@Blodir
Blodir deleted the laji-form-api-client-better-at-pretending-fetch-261012 branch October 27, 2026 11:03
@Blodir Blodir added this to the Release 92 milestone Oct 27, 2026
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