File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
packages/skin-museum-client/src Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ export async function graphqlSearch(query, options = {}) {
2626 return { hits } ;
2727}
2828
29- export function search ( query , options = { } ) {
29+ export function algoliaSearch ( query , options = { } ) {
3030 return new Promise ( ( resolve , reject ) => {
3131 index . search (
3232 {
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ import {
1919 takeWhile ,
2020 mergeAll ,
2121} from "rxjs/operators" ;
22- import { graphqlSearch } from "../algolia" ;
22+ import { algoliaSearch } from "../algolia" ;
2323import queryParser from "../queryParser" ;
2424import { CHUNK_SIZE } from "../constants" ;
2525import * as UploadUtils from "../upload/uploadUtils" ;
@@ -148,7 +148,7 @@ const searchEpic = (actions) =>
148148
149149 const [ newQuery , options ] = queryParser ( query ) ;
150150
151- return from ( graphqlSearch ( newQuery , options ) ) . pipe (
151+ return from ( algoliaSearch ( newQuery , options ) ) . pipe (
152152 map ( ( content ) => {
153153 const matchingSkins = content . hits . map ( ( hit ) => ( {
154154 hash : hit . objectID ,
You can’t perform that action at this time.
0 commit comments