aboutsummaryrefslogtreecommitdiffstats
path: root/rust/src/database_models.rs
diff options
context:
space:
mode:
Diffstat (limited to 'rust/src/database_models.rs')
-rw-r--r--rust/src/database_models.rs2
1 files changed, 1 insertions, 1 deletions
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<EntityEdit> {
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,