Browse Source

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

Co-authored-by: Timshel <timshel@480s>
pull/6532/head
Timshel 6 days ago
committed by GitHub
parent
commit
76d0856bbe
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      src/api/core/organizations.rs

2
src/api/core/organizations.rs

@ -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>,
}

Loading…
Cancel
Save