diff options
Diffstat (limited to 'ui/lib/apiServer.js')
| -rw-r--r-- | ui/lib/apiServer.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/lib/apiServer.js b/ui/lib/apiServer.js index 397638c..1bca6f6 100644 --- a/ui/lib/apiServer.js +++ b/ui/lib/apiServer.js @@ -28,11 +28,11 @@ export async function changePassword(password, to) { } export async function createChannel(name) { - return await apiServer.post('/channels', { name }).catch(responseError); + return await apiServer.post('/conversations', { name }).catch(responseError); } export async function postToChannel(channelId, body) { - return await apiServer.post(`/channels/${channelId}`, { body }).catch(responseError); + return await apiServer.post(`/conversations/${channelId}`, { body }).catch(responseError); } export async function deleteMessage(messageId) { |
