diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2018-12-24 16:04:13 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2018-12-24 16:04:13 -0800 |
commit | b86e007b7469ebb22a806d38aca0bccf9078e80d (patch) | |
tree | 69dc8bda4316cae4bbdbe3acea287d46baa42b96 /rust/src/database_models.rs | |
parent | 86fd0a416efd4015dc47494e723afd7f13771006 (diff) | |
download | fatcat-b86e007b7469ebb22a806d38aca0bccf9078e80d.tar.gz fatcat-b86e007b7469ebb22a806d38aca0bccf9078e80d.zip |
rust impl of API harmonization
Diffstat (limited to 'rust/src/database_models.rs')
-rw-r--r-- | rust/src/database_models.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/src/database_models.rs b/rust/src/database_models.rs index 617b150b..2431e0fe 100644 --- a/rust/src/database_models.rs +++ b/rust/src/database_models.rs @@ -416,7 +416,7 @@ impl EditgroupRow { /// eg, entity history queries (where we already have the entity edit we want) pub fn into_model_partial(self) -> Editgroup { Editgroup { - id: Some(uuid2fcid(&self.id)), + editgroup_id: Some(uuid2fcid(&self.id)), editor_id: uuid2fcid(&self.editor_id), description: self.description, extra: self.extra_json, |