Revert "Encode autocomplete search query"

This reverts commit 7f8d084fa4.
This commit is contained in:
Sean Yesmunt 2020-09-10 11:30:42 -04:00
parent cb0918726e
commit 813ef0e960

View file

@ -45,7 +45,7 @@ export const getSearchSuggestions = (value: string) => (dispatch: Dispatch, getS
return;
}
fetch(`${CONNECTION_STRING}autocomplete?s=${encodeURIComponent(searchValue)}`)
fetch(`${CONNECTION_STRING}autocomplete?s=${searchValue}`)
.then(handleFetchResponse)
.then(apiSuggestions => {
dispatch({