Skip to content

Commit

Permalink
Merge branch 'main' into feature/add-zoom-slider-to-zoom-plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
warm-coolguy authored Jul 11, 2024
2 parents 5325261 + a324694 commit 5b7db78
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,6 @@ export async function searchLiteratureByToponym(
body: `{"location_names":${JSON.stringify(names)}}`,
}
)
return (await response.json()).title_location_freq as TitleLocationFrequency
return ((await response.json()).title_location_freq ||
{}) as TitleLocationFrequency
}

0 comments on commit 5b7db78

Please sign in to comment.