summaryrefslogtreecommitdiffstats
path: root/rust
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-05-20 15:26:08 -0700
committerBryan Newbold <bnewbold@robocracy.org>2019-05-20 15:26:22 -0700
commit5868714f4176c9cb70245d5164cc9196c2314a75 (patch)
tree22494188f7b1521cd9e4d00b8fb6a04d09abca01 /rust
parent29b31d042cbfde67d47213a9cd80aec0a8af6837 (diff)
downloadfatcat-5868714f4176c9cb70245d5164cc9196c2314a75.tar.gz
fatcat-5868714f4176c9cb70245d5164cc9196c2314a75.zip
include edit_extra on single-entity creates
Diffstat (limited to 'rust')
-rw-r--r--rust/src/entity_crud.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/rust/src/entity_crud.rs b/rust/src/entity_crud.rs
index b72ccd37..dc8a3e82 100644
--- a/rust/src/entity_crud.rs
+++ b/rust/src/entity_crud.rs
@@ -346,6 +346,7 @@ macro_rules! generic_db_create {
$edit_table::editgroup_id.eq(edit_context.editgroup_id.to_uuid()),
$edit_table::rev_id.eq(&rev_id),
$edit_table::ident_id.eq(&ident),
+ $edit_table::extra_json.eq(self.edit_extra.clone()),
))
.get_result(conn)?;
Ok(edit)