mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2024-11-23 07:38:38 +01:00
Try to fix #1218
This commit is contained in:
parent
63acc8619b
commit
013d4c28b2
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ impl OrgPolicy {
|
|||
pub fn find_by_user(user_uuid: &str, conn: &DbConn) -> Vec<Self> {
|
||||
db_run! { conn: {
|
||||
org_policies::table
|
||||
.left_join(
|
||||
.inner_join(
|
||||
users_organizations::table.on(
|
||||
users_organizations::org_uuid.eq(org_policies::org_uuid)
|
||||
.and(users_organizations::user_uuid.eq(user_uuid)))
|
||||
|
|
Loading…
Reference in a new issue