Fix species write route

This commit is contained in:
ShootingStar91
2024-08-31 13:09:11 +03:00
parent 29484a85ed
commit 3a46f14f52
+1 -1
View File
@@ -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