From c00aec81eca0813853aa3548b798de1a0dd290ae Mon Sep 17 00:00:00 2001 From: Ricardo Garim Date: Wed, 16 Oct 2024 16:48:35 -0300 Subject: [PATCH] chore!: make useQuery hook stop to use fields query param (#33578) --- apps/meteor/client/views/omnichannel/agents/hooks/useQuery.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/apps/meteor/client/views/omnichannel/agents/hooks/useQuery.ts b/apps/meteor/client/views/omnichannel/agents/hooks/useQuery.ts index 8d1f053a9103..767a4bb6a189 100644 --- a/apps/meteor/client/views/omnichannel/agents/hooks/useQuery.ts +++ b/apps/meteor/client/views/omnichannel/agents/hooks/useQuery.ts @@ -17,7 +17,6 @@ export const useQuery = ( ): PaginatedRequest<{ text: string }> => useMemo( () => ({ - fields: JSON.stringify({ name: 1, username: 1, emails: 1, avatarETag: 1 }), text, sort: JSON.stringify({ [column]: sortDir(direction),