Refactoring after backend update

This commit is contained in:
ilya-bkv 2022-12-04 05:48:24 +03:00
parent c124cfc971
commit 24be8aa016

View File

@ -289,7 +289,7 @@ export const apiClient = {
getChatMessages: async (options: QueryLoadMessagesByArgs) => {
const resp = await privateGraphQLClient.query(chatMessagesLoadBy, options).toPromise()
console.log('!!! resp:', resp)
return resp.data.loadChat
return resp.data
},
getRecipients: async (options: QueryLoadRecipientsArgs) => {