Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

Commit

Permalink
use autocomplete channels endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
ccbrown committed Jan 30, 2018
1 parent 3fdf2c4 commit 80d0f23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actions/channel_actions.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ export async function autocompleteChannels(term, success, error) {
return;
}

const {data, error: err} = await ChannelActions.searchChannels(teamId, term)(dispatch, getState);
const {data, error: err} = await ChannelActions.autocompleteChannels(teamId, term)(dispatch, getState);
if (data && success) {
success(data);
} else if (err && error) {
Expand Down

0 comments on commit 80d0f23

Please sign in to comment.