chatengine-io / react-chat-engine

React component for a cheap and easy chat API
138 stars 35 forks source link

function api sending axios request to wrong url #87

Closed rayguo17 closed 2 years ago

rayguo17 commented 2 years ago

Hey, i am using the react chat engine api, i import the getMyData function from node modules, following the documentation, but i get a 404 not found. So i check the source code in the node module as well as the chat engine api documentation in https://rest.chatengine.io/#1df17103-6a19-4666-8a4a-9baf8815dd01 , seems like, in the source code it is sending request to /chats/me, but in the document, should send request to /users/me .

alamorre commented 2 years ago

Great catch - just patched it.

Download 1.10.13 it should be out now 👍

rayguo17 commented 2 years ago

Thanks for the response! Really appreciate your work! 🙌