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 d798a057c7
commit 0f94c0b479

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');