feat(users): add search endpoint for adding new user to workspace by mobile

This commit is contained in:
2026-03-12 08:30:14 +08:00
parent 5990114151
commit 93b1699253
4 changed files with 65 additions and 0 deletions

View File

@@ -24,6 +24,7 @@ urlpatterns = [
'patch': 'partial_update',
'delete': 'destroy'
}), name='user-me'),
path('search/', views.UserSearchAPIView.as_view(), name='user-search'),
path("token/obtain/", TokenObtainPairView.as_view(), name="token_obtain_pair"),
path("token/refresh/", TokenRefreshView.as_view(), name="token_refresh"),
]