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: conceal error if AUTH_CONCEAL_ERRORS is set #445

Merged
merged 2 commits into from
Nov 28, 2023

Conversation

ErwinPetit
Copy link
Contributor

@ErwinPetit ErwinPetit commented Nov 21, 2023

Before submitting this PR:

Checklist

  • No breaking changes
  • Tests pass

Changes

When AUTH_CONCEAL_ERRORS is used, the error code in the response is also concealed

Tests

Snapshot for conceal-error.test.ts has been updated

Copy link

changeset-bot bot commented Nov 21, 2023

🦋 Changeset detected

Latest commit: 7b13513

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

This PR includes changesets to release 1 package
Name Type
hasura-auth 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

@dbarrosop
Copy link
Member

dbarrosop commented Nov 21, 2023

Thanks for the PR @ErwinPetit

LGTM @onehassan anything to add?

@onehassan
Copy link
Member

LGTM! Thanks for the PR @ErwinPetit 🙌 . I'll add a changeset and merge!

@onehassan
Copy link
Member

@ErwinPetit it seems I can't push to your repo, can you unlock your main branch?
image

@ErwinPetit
Copy link
Contributor Author

ErwinPetit commented Nov 23, 2023

Oops sorry @onehassan . I unlocked the branch, it might be good !

@onehassan
Copy link
Member

Yes that worked - thanks @ErwinPetit 👍

@onehassan onehassan merged commit 2e3096c into nhost:main Nov 28, 2023
3 checks passed
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.

3 participants