BOD-14 More refactoring for messaging. Styles removed.
This commit is contained in:
@@ -1,16 +0,0 @@
|
||||
import { gql } from "apollo-boost";
|
||||
|
||||
export const MESSAGES_SUBSCRIPTION = gql`
|
||||
subscription MESSAGES_SUBSCRIPTION($conversationId: uuid!) {
|
||||
messages(
|
||||
where: { conversationid: { _eq: $conversationId } }
|
||||
order_by: { created_at: asc }
|
||||
) {
|
||||
text
|
||||
created_at
|
||||
id
|
||||
status
|
||||
isoutbound
|
||||
}
|
||||
}
|
||||
`;
|
||||
Reference in New Issue
Block a user