mirror of
https://github.com/nowcommunity/nowdatabase.git
synced 2026-10-12 19:13:52 +03:00
Fix species write route
This commit is contained in:
@@ -31,7 +31,7 @@ export const writeSpecies = async (
|
||||
|
||||
await writeHandler.applyListChanges('now_ls', species.now_ls, ['lid', 'species_id'])
|
||||
await writeHandler.applyListChanges('com_taxa_synonym', species.com_taxa_synonym, ['synonym_id', 'species_id'])
|
||||
await writeHandler.logUpdatesAndComplete(comment ?? '', references ?? [], authorizer)
|
||||
await writeHandler.logUpdatesAndComplete(authorizer, comment ?? '', references ?? [])
|
||||
await writeHandler.commit()
|
||||
|
||||
return species.species_id
|
||||
|
||||
Reference in New Issue
Block a user