Fix an issue fetching anime for the add item call

This commit is contained in:
Timothy Warren 2017-09-14 17:32:40 -04:00
parent 200ff1339c
commit b0ee397994

View File

@ -4,7 +4,7 @@
const search = (tempHtml, query) => {
_.$('.cssload-loader')[0].removeAttribute('hidden');
_.get(_.url('/collection/search'), {query}, (searchResults, status) => {
_.get(_.url('/anime-collection/search'), {query}, (searchResults, status) => {
searchResults = JSON.parse(searchResults);
_.$('.cssload-loader')[0].setAttribute('hidden', 'hidden');