🔧 Ability to import CV search result into mongo

This commit is contained in:
2021-08-18 22:16:15 -07:00
parent d7f0bdcdfe
commit 2184b20887
5 changed files with 92 additions and 52 deletions

View File

@@ -26,7 +26,7 @@ export const Search = ({}: ISearchProps): ReactElement => {
format: "json",
limit: "10",
offset: "0",
field_list: "id,name,deck,api_detail_url,image,description",
field_list: "id,name,deck,api_detail_url,image,description,volume",
resources: "issue",
},
}),
@@ -97,6 +97,7 @@ export const Search = ({}: ISearchProps): ReactElement => {
!isEmpty(comicVineSearchResults.results) ? (
<>
{comicVineSearchResults.results.map((result) => {
console.log(result)
return (
<div key={result.id}>
{result.id} {result.name}