Skip to content

Commit

Permalink
Merge branch 'main' into feature/add-new-mode-for-attributions
Browse files Browse the repository at this point in the history
  • Loading branch information
warm-coolguy authored Jul 11, 2024
2 parents a69566f + a324694 commit 7ba42cb
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 7ba42cb

Please sign in to comment.