Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: api routes should be able to return non-200 status #1228

Merged
merged 1 commit into from
Nov 17, 2024

Conversation

vnugent
Copy link
Contributor

@vnugent vnugent commented Nov 17, 2024

What type of PR is this?(check all applicable)

  • refactor
  • feature
  • bug fix
  • documentation
  • optimization
  • other

Description

What this PR achieves

Mobile auth handlers should return non-200 when there's an error. Status code should be passed to NextResponse() as a 2nd param.

@vnugent vnugent merged commit a240164 into develop Nov 17, 2024
6 of 8 checks passed
@vnugent vnugent deleted the fix-mobile-auth branch November 17, 2024 22:36
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