From d046bee7a76576cf14a2815b787247fca8c44433 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Thu, 30 Aug 2018 19:36:33 -0700 Subject: editgroup IDs are fcid, not uuid --- rust/src/api_server.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rust/src') diff --git a/rust/src/api_server.rs b/rust/src/api_server.rs index e8e7d062..88fd7063 100644 --- a/rust/src/api_server.rs +++ b/rust/src/api_server.rs @@ -33,7 +33,7 @@ macro_rules! entity_batch_handler { let editor_id = Uuid::parse_str("00000000-0000-0000-AAAA-000000000001")?; // TODO: auth // editgroup override logic based on parameters let eg_id: Option = match (editgroup, autoaccept) { - (Some(eg_string), _) => Some(Uuid::parse_str(&eg_string)?), + (Some(eg_string), _) => Some(fcid2uuid(&eg_string)?), (None, true) => { let eg_row: EditgroupRow = diesel::insert_into(editgroup::table) .values((editgroup::editor_id.eq(editor_id),)) -- cgit v1.2.3