Bug: Fix conversation not loading from the links in email (#602)

Bug: Load conversation from links
This commit is contained in:
Pranav Raj S
2020-03-08 22:08:25 +05:30
committed by GitHub
parent a8ac048716
commit 2a4fb7b056
14 changed files with 118 additions and 36 deletions

View File

@@ -15,7 +15,7 @@ class MessageApi extends ApiClient {
}
getPreviousMessages({ conversationId, before }) {
return axios.get(`${this.url}/${conversationId}`, {
return axios.get(`${this.url}/${conversationId}/messages`, {
params: { before },
});
}