mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-12-09 12:12:34 +02:00
Org.put_policy type not in body anymore (#6514)
Co-authored-by: Timshel <timshel@480s>
This commit is contained in:
@@ -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>,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user