You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Why is the 'request' parameter not passed to 'user_manager.delete' in the 'delete' method of the router? #1257
Discussed in #1256
Originally posted by hgalytoby July 25, 2023
I noticed that
user_manager.deletecan accept arequestparameter.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
requestparameter is not being passed touser_manager.deletein the delete method of the router?