aboutsummaryrefslogtreecommitdiffstats
path: root/rust/src/api_server.rs
diff options
context:
space:
mode:
Diffstat (limited to 'rust/src/api_server.rs')
-rw-r--r--rust/src/api_server.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/rust/src/api_server.rs b/rust/src/api_server.rs
index fa64bf7b..b260a98a 100644
--- a/rust/src/api_server.rs
+++ b/rust/src/api_server.rs
@@ -99,7 +99,7 @@ fn container_row2entity(
coden: rev.coden,
state: state,
ident: ident_id,
- revision: Some(uuid2fcid(&rev.id)),
+ revision: Some(rev.id.to_string()),
redirect: redirect_id,
extra: rev.extra_json,
editgroup_id: None,
@@ -122,7 +122,7 @@ fn creator_row2entity(ident: Option<CreatorIdentRow>, rev: CreatorRevRow) -> Res
orcid: rev.orcid,
state: state,
ident: ident_id,
- revision: Some(uuid2fcid(&rev.id)),
+ revision: Some(rev.id.to_string()),
redirect: redirect_id,
editgroup_id: None,
extra: rev.extra_json,
@@ -160,7 +160,7 @@ fn file_row2entity(
releases: Some(releases),
state: state,
ident: ident_id,
- revision: Some(uuid2fcid(&rev.id)),
+ revision: Some(rev.id.to_string()),
redirect: redirect_id,
editgroup_id: None,
extra: rev.extra_json,
@@ -232,7 +232,7 @@ fn release_row2entity(
contribs: Some(contribs),
state: state,
ident: ident_id,
- revision: Some(uuid2fcid(&rev.id)),
+ revision: Some(rev.id.to_string()),
redirect: redirect_id,
editgroup_id: None,
extra: rev.extra_json,
@@ -252,7 +252,7 @@ fn work_row2entity(ident: Option<WorkIdentRow>, rev: WorkRevRow) -> Result<WorkE
work_type: rev.work_type,
state: state,
ident: ident_id,
- revision: Some(uuid2fcid(&rev.id)),
+ revision: Some(rev.id.to_string()),
redirect: redirect_id,
editgroup_id: None,
extra: rev.extra_json,