diff --git a/client/src/graphql/conversations.queries.js b/client/src/graphql/conversations.queries.js index 373d70691..33009ffbe 100644 --- a/client/src/graphql/conversations.queries.js +++ b/client/src/graphql/conversations.queries.js @@ -163,22 +163,3 @@ export const UPDATE_CONVERSATION_LABEL = gql` } } `; - -export const GET_CONVERSATION_MESSAGES = gql` - query GET_CONVERSATION_MESSAGES($conversationId: uuid!) { - conversation: conversations_by_pk(id: $conversationId) { - id - phone_num - updated_at - label - } - messages: messages(where: { conversationid: { _eq: $conversationId } }, order_by: { created_at: asc }) { - id - text - created_at - read - isoutbound - userid - } - } -`;