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

Why is the 'request' parameter not passed to 'user_manager.delete' in the 'delete' method of the router? #1257

Closed
frankie567 opened this issue Jul 25, 2023 Discussed in #1256 · 0 comments
Labels
bug Something isn't working

Comments

@frankie567
Copy link
Member

Discussed in #1256

Originally posted by hgalytoby July 25, 2023
I noticed that user_manager.delete can accept a request parameter.

https://github.com/fastapi-users/fastapi-users/blob/master/fastapi_users/manager.py#L469

However, when I looked at the delete method in the router, I observed that the request parameter is not being passed when using user_manager.delete.

https://github.com/fastapi-users/fastapi-users/blob/master/fastapi_users/router/users.py#L223

I wonder why the request parameter is not being passed to user_manager.delete in the delete method of the router?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant