diff --git a/src/jobs/instance.rs b/src/jobs/instance.rs index 4c22166..dcc0e7d 100644 --- a/src/jobs/instance.rs +++ b/src/jobs/instance.rs @@ -80,7 +80,7 @@ impl QueryInstance { description, instance.version, instance.registrations, - instance.approval_required || instance.registrations, + instance.approval_required, ) .await?; @@ -114,9 +114,6 @@ struct Instance { #[serde(default = "default_approval")] approval_required: bool, - #[serde(default = "default_approval")] - registrations: bool, - #[serde(rename = "contact_account")] contact: Option, }