Org.put_policy type not in body anymore (#6514)

Co-authored-by: Timshel <timshel@480s>
This commit is contained in:
Timshel
2025-12-06 22:12:46 +01:00
committed by GitHub
parent f0e79fd391
commit 76d0856bbe

View File

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