Refactoring after backend update
This commit is contained in:
parent
c124cfc971
commit
24be8aa016
|
@ -289,7 +289,7 @@ export const apiClient = {
|
||||||
getChatMessages: async (options: QueryLoadMessagesByArgs) => {
|
getChatMessages: async (options: QueryLoadMessagesByArgs) => {
|
||||||
const resp = await privateGraphQLClient.query(chatMessagesLoadBy, options).toPromise()
|
const resp = await privateGraphQLClient.query(chatMessagesLoadBy, options).toPromise()
|
||||||
console.log('!!! resp:', resp)
|
console.log('!!! resp:', resp)
|
||||||
return resp.data.loadChat
|
return resp.data
|
||||||
},
|
},
|
||||||
|
|
||||||
getRecipients: async (options: QueryLoadRecipientsArgs) => {
|
getRecipients: async (options: QueryLoadRecipientsArgs) => {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user