Org.put_policy type not in body anymore

This commit is contained in:
Timshel 2025-12-01 16:41:51 +01:00
parent 07569a06da
commit cb5095b54d

View File

@ -2057,8 +2057,6 @@ async fn get_policy(org_id: OrganizationId, pol_type: i32, headers: AdminHeaders
#[derive(Deserialize)] #[derive(Deserialize)]
struct PolicyData { struct PolicyData {
enabled: bool, enabled: bool,
#[serde(rename = "type")]
_type: i32,
data: Option<Value>, data: Option<Value>,
} }