Skip to content

Commit 3529edc

Browse files
author
vikasrohit
authored
Merge pull request #2197 from appirio-tech/hotfix/message_api_adapt_3.0.0_breaking_changes
Patch release for breaking changes in message api
2 parents b812a60 + 16132f4 commit 3529edc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/api/messages.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export function getTopics(criteria) {
1515
params.filter = filterStr.join('&')
1616
}
1717

18-
return axios.get(`${apiBaseUrl}/topics/list`, { params })
18+
return axios.get(`${apiBaseUrl}/topics/list/db`, { params })
1919
.then( resp => {
2020
return {
2121
totalCount: _.get(resp.data, 'result.metadata.totalCount', 0),
@@ -25,7 +25,7 @@ export function getTopics(criteria) {
2525
}
2626

2727
export function getTopic(topicId) {
28-
return axios.get(`${apiBaseUrl}/topics/${topicId}/read`)
28+
return axios.get(`${apiBaseUrl}/topics/${topicId}/read/db`)
2929
.then( resp => {
3030
return {
3131
totalCount: _.get(resp.data, 'result.metadata.totalCount', 0),

0 commit comments

Comments
 (0)