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

ABC-79: use autocomplete channels endpoint #684

Merged
merged 2 commits into from
Jan 31, 2018
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
use autocomplete channels endpoint
  • Loading branch information
ccbrown committed Jan 31, 2018
commit 1bfa7d07291412068290100579cd0c931d3d117e
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