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

feat: api error codes and redacted secrets #6

Merged
merged 3 commits into from
Dec 2, 2023
Merged

Conversation

EstebanBorai
Copy link
Collaborator

Provides Secret struct to keep sensitive data hidden, also Error Codes support.
Makes sure core logic has correct error handling by enumerating errors from different cases
and providing explicit Status Codes for each error.

Makes sure routes matches the ones under account, refer:

https://github.com/commune-os/commune-server/blob/df257384c8daede9fdf0e93c51af3c6444e15745/app/routes.go#L122-L164

@EstebanBorai EstebanBorai merged commit 84021a8 into main Dec 2, 2023
3 checks passed
@EstebanBorai EstebanBorai deleted the feat/users-crud branch December 2, 2023 22:42
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