mirror of
https://github.com/nowcommunity/nowdatabase.git
synced 2026-10-12 19:13:52 +03:00
Fixed bug where locality details query breaks on species with ref_ref.exact_date NULL
This commit is contained in:
@@ -80,9 +80,9 @@ export const getSpeciesDetails = async (id: number) => {
|
||||
now_sau: {
|
||||
include: {
|
||||
now_sr: {
|
||||
include: {
|
||||
select: {
|
||||
ref_ref: {
|
||||
include: {
|
||||
select: {
|
||||
ref_authors: true,
|
||||
ref_journal: true,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user