mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2024-12-23 19:39:08 +00:00
Merge branch 'domdomegg/support-no-data-org-policies' of https://github.com/domdomegg/vaultwarden into domdomegg-domdomegg/support-no-data-org-policies
This commit is contained in:
commit
acab70ed89
@ -1183,7 +1183,7 @@ struct PolicyData {
|
|||||||
enabled: bool,
|
enabled: bool,
|
||||||
#[serde(rename = "type")]
|
#[serde(rename = "type")]
|
||||||
_type: i32,
|
_type: i32,
|
||||||
data: Value,
|
data: Option<Value>,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[put("/organizations/<org_id>/policies/<pol_type>", data = "<data>")]
|
#[put("/organizations/<org_id>/policies/<pol_type>", data = "<data>")]
|
||||||
|
Loading…
Reference in New Issue
Block a user