ED-274: Fix broken backward compatibility (#31)

* ED-274: Fix broken backward compatibility
This commit is contained in:
Sergey Yelin 2021-11-30 14:11:05 +03:00 committed by Andrew Mayorov
parent c6c42b80dc
commit 30c91b7b68
No known key found for this signature in database
GPG Key ID: 2837C62ACFBFED5D

View File

@ -34,6 +34,8 @@ new_party_claim(ID, Revision, CreatedAt, UpdatedAt) ->
id = ID,
status = ?pending(),
revision = Revision,
%% Added for backward compatibility
changeset = [],
created_at = CreatedAt,
updated_at = UpdatedAt,
caused_by = build_claim_ref(ID, Revision)