Spiegel von
https://github.com/dani-garcia/vaultwarden.git
synchronisiert 2024-11-23 05:20:28 +01:00
No point calling find_by_uuid now we don't use the result.
Dieser Commit ist enthalten in:
Ursprung
928ad6c1d8
Commit
fc0e239bdf
1 geänderte Dateien mit 0 neuen und 2 gelöschten Zeilen
|
@ -293,8 +293,6 @@ impl UserOrganization {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn to_json_collection_user_details(&self, read_only: bool, conn: &DbConn) -> Value {
|
pub fn to_json_collection_user_details(&self, read_only: bool, conn: &DbConn) -> Value {
|
||||||
let user = User::find_by_uuid(&self.user_uuid, conn).unwrap();
|
|
||||||
|
|
||||||
json!({
|
json!({
|
||||||
"Id": self.uuid,
|
"Id": self.uuid,
|
||||||
"ReadOnly": read_only
|
"ReadOnly": read_only
|
||||||
|
|
Laden …
In neuem Issue referenzieren