feat(user): add user update endpoint with authorization checks and serializer support ✨
This commit is contained in:
@@ -21,6 +21,7 @@ from .views import (
|
||||
UpdateUserWalletView,
|
||||
VerifyOTPView,
|
||||
UserVerifyAPIView,
|
||||
UserUpdateAPIView,
|
||||
)
|
||||
|
||||
|
||||
@@ -39,6 +40,7 @@ urlpatterns = [
|
||||
),
|
||||
path("users/<int:pk>/", UserDetailAPIView.as_view(), name="user-detail"),
|
||||
path("users/<int:pk>/verify/", UserVerifyAPIView.as_view(), name="user-verify"),
|
||||
path("users/<int:pk>/update/", UserUpdateAPIView.as_view(), name="user-update"),
|
||||
path("users/filter/", filter_user, name="filter-users"),
|
||||
path("users/temp/filter/", filter_temporary_user, name="filter-temporary-users"),
|
||||
path("healthcheck/", healthcheck, name="healthcheck"),
|
||||
|
||||
Reference in New Issue
Block a user