KamoCRM

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

FixESigService
Name
lúc 22:26 12 tháng 4, 2026 UTC
Tác giả
Kamo
Cam kết
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.

Mọi thay đổi

Như những gì anh thấy vận chuyển?

Tất cả những thứ đó đều đến trong không gian làm việc của anh. Bắt đầu với kế hoạch miễn phí và đọc lại trang này trong một tháng.

Bắt đầu tự do mãi mãiXem truy cập