[chore] remove debug info from card grid output
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
---
|
||||
import { client } from '../../db/typesense';
|
||||
import RarityIcon from '../../components/RarityIcon.astro';
|
||||
import * as util from 'node:util';
|
||||
|
||||
export const prerender = false;
|
||||
|
||||
@@ -81,7 +80,6 @@ const commonSearchParams = {
|
||||
|
||||
// use typesense to search for cards matching the query and return the productIds of the results
|
||||
const searchResults = await client.multiSearch.perform(searchRequests, commonSearchParams);
|
||||
console.log(util.inspect(searchResults.results[0], {depth: null}));
|
||||
const cardResults = searchResults.results[0] as any;
|
||||
|
||||
const pokemon = cardResults.hits?.map((hit: any) => hit.document) ?? [];
|
||||
|
||||
Reference in New Issue
Block a user