Add UpdateUserWalletView and CustomUserByWalletBalanceSerializer for wallet balance updates
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 2m12s

This commit is contained in:
2025-04-05 20:53:06 +05:00
parent d67794df62
commit b87dcfaf26
8 changed files with 95 additions and 16 deletions

View File

@ -17,6 +17,7 @@ from .views import (
ListCreateIslandView,
RetrieveUpdateDestroyIslandView,
filter_user,
UpdateUserWalletView,
)
@ -29,6 +30,9 @@ urlpatterns = [
path("tokens/", KnoxTokenListApiView.as_view(), name="knox_tokens"),
# path("auth/", CustomAuthToken.as_view()),
path("users/", ListUserView.as_view(), name="users"),
path(
"update-wallet/<int:pk>/", UpdateUserWalletView.as_view(), name="update-wallet"
),
path("users/<int:pk>/", UserDetailAPIView.as_view(), name="user-detail"),
path("users/filter/", filter_user, name="filter-users"),
path("healthcheck/", healthcheck, name="healthcheck"),