From f3243f752f4a1eaae8726674b1978d96ad8da2e4 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Fri, 20 Jul 2018 21:01:44 -0700 Subject: oops, forgot revisions should be UUID --- rust/src/database_models.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rust/src/database_models.rs') diff --git a/rust/src/database_models.rs b/rust/src/database_models.rs index 79ff45fe..167d2fbe 100644 --- a/rust/src/database_models.rs +++ b/rust/src/database_models.rs @@ -54,7 +54,7 @@ macro_rules! entity_structs { fn to_model(self) -> Result { Ok(EntityEdit { editgroup_id: uuid2fcid(&self.editgroup_id), - revision: self.rev_id.map(|v| uuid2fcid(&v)), + revision: self.rev_id.map(|v| v.to_string()), redirect_ident: self.redirect_id.map(|v| uuid2fcid(&v)), ident: uuid2fcid(&self.ident_id), edit_id: self.id, -- cgit v1.2.3