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

perf(api): search user id only if needed #57

Merged
merged 2 commits into from
Apr 14, 2024
Merged

perf(api): search user id only if needed #57

merged 2 commits into from
Apr 14, 2024

Conversation

Jayllyz
Copy link
Contributor

@Jayllyz Jayllyz commented Apr 14, 2024

Removed request in authMiddleware to get the user id, because a lot of request dont need this user id.

Now if a route needs the user id, it can use the id_auth provided in the context.

@Jayllyz Jayllyz self-assigned this Apr 14, 2024
@Jayllyz Jayllyz merged commit a794957 into main Apr 14, 2024
3 checks passed
@Jayllyz Jayllyz deleted the perf/user-context branch April 14, 2024 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant