perf: Remove username hint

This commit is contained in:
wangruidong
2025-06-09 15:25:34 +08:00
committed by 老广
parent ec20a4fd02
commit bbd3b32aa1
3 changed files with 4 additions and 0 deletions

View File

@@ -294,6 +294,8 @@ class UsernameHintsAPI(APIView):
permission_classes = [IsValidUser]
def post(self, request, **kwargs):
if settings.SAFE_MODE:
return Response(data=[])
node_ids = request.data.get('nodes', [])
asset_ids = request.data.get('assets', [])
query = request.data.get('query', None)