[chore] remove debug info from card grid output

This commit is contained in:
2026-02-28 12:28:54 -05:00
parent 272aae3eec
commit a663641cd5

View File

@@ -1,7 +1,6 @@
--- ---
import { client } from '../../db/typesense'; import { client } from '../../db/typesense';
import RarityIcon from '../../components/RarityIcon.astro'; import RarityIcon from '../../components/RarityIcon.astro';
import * as util from 'node:util';
export const prerender = false; 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 // use typesense to search for cards matching the query and return the productIds of the results
const searchResults = await client.multiSearch.perform(searchRequests, commonSearchParams); 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 cardResults = searchResults.results[0] as any;
const pokemon = cardResults.hits?.map((hit: any) => hit.document) ?? []; const pokemon = cardResults.hits?.map((hit: any) => hit.document) ?? [];