From dd9598577da8dfccaf0bb6daff56bab9d1d8e9a6 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Mon, 20 May 2019 18:35:19 -0700 Subject: actually check withdrawn status --- rust/src/entity_crud.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'rust/src') diff --git a/rust/src/entity_crud.rs b/rust/src/entity_crud.rs index dc8a3e82..58a92433 100644 --- a/rust/src/entity_crud.rs +++ b/rust/src/entity_crud.rs @@ -2026,6 +2026,9 @@ impl EntityCrud for ReleaseEntity { if let Some(ref release_stage) = entity.release_stage { check_release_stage(release_stage)?; } + if let Some(ref withdrawn_status) = entity.withdrawn_status { + check_withdrawn_status(withdrawn_status)?; + } if let Some(ref abstracts) = entity.abstracts { if abstracts.len() > 200 { return Err(FatcatError::BadRequest( -- cgit v1.2.3