Skip to content

Conversation

@saenyakorn
Copy link
Member

Why did you create this PR

What did you do

Screenshots / Recordings

Checklist

  • Self-reviewed your code
  • Wrote coverage tests
  • Added screenshots or recordings if applicable

@changeset-bot
Copy link

changeset-bot bot commented Sep 10, 2025

🦋 Changeset detected

Latest commit: a2050f0

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 8 packages
Name Type
@genseki/next Patch
@example/erp Patch
@example/ui-playground Patch
@genseki/react Patch
@genseki/rest Patch
@genseki/react-query Patch
@genseki/plugins Patch
@genseki/prisma-generator Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@saenyakorn saenyakorn requested a review from Copilot September 10, 2025 10:39
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes an invalid response type by updating the way error responses are constructed for invalid request bodies. The change modernizes the response creation pattern to use a more standardized approach.

  • Replaces manual JSON stringification with Response.json() method for error responses

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@saenyakorn saenyakorn merged commit b48daa0 into main Sep 10, 2025
1 check passed
@saenyakorn saenyakorn deleted the yu/fix/next-invalid-response-type branch September 10, 2025 10:40
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