mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-12-10 20:52:33 +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)]
|
#[derive(Deserialize)]
|
||||||
struct PolicyData {
|
struct PolicyData {
|
||||||
enabled: bool,
|
enabled: bool,
|
||||||
#[serde(rename = "type")]
|
|
||||||
_type: i32,
|
|
||||||
data: Option<Value>,
|
data: Option<Value>,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user