Replace upsertSigners with full delete+insert to handle frontend temp UUIDs

FixESigService
Navios
12 de abril de 2026 às 22:26 UTC
Autor
Kamo
Enviar
4d0bc76

The frontend assigns temporary crypto.randomUUID() values to newly-added signers before any backend call. The previous upsert-by-uid logic would throw 404 for these non-existent IDs. Full replace (delete all + insert all) is the correct semantics: the client always sends the complete desired list, and the response returns the canonical DB-assigned UUIDs.

Todas as alterações

Como o que vês no transporte?

Cada uma dessas atualizações pousa automaticamente em seu espaço de trabalho. Comece grátis e veja crescer semana após semana.

Começar Livre Para SempreVer Preços