mirror of
https://github.com/nowcommunity/nowdatabase.git
synced 2026-10-12 19:13:52 +03:00
[Combined export] Change null values to empty
This commit is contained in:
@@ -99,6 +99,7 @@ export const getLocalitySpeciesList = async (lids: number[], user: User) => {
|
||||
if (typeof value === 'object' && value !== null)
|
||||
throw new Error('Internal error: Unexpected non-array object in export data')
|
||||
if (typeof value === 'bigint') return Number(BigInt)
|
||||
if (value === null) return `""`
|
||||
return `"${value}"`
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user