summaryrefslogtreecommitdiffstats
path: root/rust/src/entity_crud.rs
diff options
context:
space:
mode:
Diffstat (limited to 'rust/src/entity_crud.rs')
-rw-r--r--rust/src/entity_crud.rs3
1 files changed, 3 insertions, 0 deletions
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(